diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 11:43:39 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 13:36:42 -0700 |
commit | 5b7026676952fffe82ece362f21d190f8aac66a0 (patch) | |
tree | 040cf88df64edb774b5ee8193d07293e09cf60c9 /recordmydesktop/src/rmd_init_encoder.c | |
parent | 94e08c4fb86eed1351faedd903e4707a490414c3 (diff) |
*: no more enc_data->[xy]_offset
With no rrect alignment adjustment happening, there's no need for this
fuckery anymore. The theora encoding offsets will always be left at
0, the frame_{width, height} will clip to rrect.{width,height}, and
the yuv buffer dimensions are the only thing 16x16 aligned.
Diffstat (limited to 'recordmydesktop/src/rmd_init_encoder.c')
-rw-r--r-- | recordmydesktop/src/rmd_init_encoder.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/recordmydesktop/src/rmd_init_encoder.c b/recordmydesktop/src/rmd_init_encoder.c index 2b2273e..55e1711 100644 --- a/recordmydesktop/src/rmd_init_encoder.c +++ b/recordmydesktop/src/rmd_init_encoder.c @@ -340,8 +340,6 @@ void rmdInitEncoder(ProgData *pdata, EncData *enc_data_t, int buffer_ready) { enc_data_t->yuv.uv_width = enc_data_t->m_th_inf.width / 2; enc_data_t->yuv.uv_height = enc_data_t->m_th_inf.height / 2; enc_data_t->yuv.uv_stride = enc_data_t->m_th_inf.width / 2; - enc_data_t->x_offset = enc_data_t->m_th_inf.offset_x; - enc_data_t->y_offset = enc_data_t->m_th_inf.offset_y; } theora_info_clear(&enc_data_t->m_th_inf); |