fix possition of dvbsubs when input has p_subpic->i_x/i_y != 0

parent 435b8ca6
...@@ -2058,8 +2058,8 @@ static void encode_page_composition( encoder_t *p_enc, bs_t *s, ...@@ -2058,8 +2058,8 @@ static void encode_page_composition( encoder_t *p_enc, bs_t *s,
} }
else else
{ {
bs_write( s, 16, p_region->i_x ); bs_write( s, 16, p_subpic->i_x + p_region->i_x );
bs_write( s, 16, p_region->i_y ); bs_write( s, 16, p_subpic->i_y + p_region->i_y );
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment