From: Derk-Jan Hartman Date: Thu, 10 Jul 2008 00:07:49 +0000 (+0200) Subject: Fix positioning of dvbsub. closes #1686 X-Git-Tag: 0.9.0-test2~78 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9dc1a1ae673fbe4c9519de2e794e5855b15bff8a;p=vlc Fix positioning of dvbsub. closes #1686 This was caused by commit 23cc599d06abb5c84913c7399dd08c6b283fc49e and an attempt at fixing it in commit 251648e32246c48729986e65678bac16e5061e47. --- diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c index a56c83d554..677c4012d0 100644 --- a/modules/codec/dvbsub.c +++ b/modules/codec/dvbsub.c @@ -329,7 +329,7 @@ static int Open( vlc_object_t *p_this ) i_posy = val.i_int; /* Check if subpicture position was overridden */ - p_sys->b_absolute = false; + p_sys->b_absolute = true; p_sys->i_spu_x = p_sys->i_spu_y = 0; if( ( i_posx >= 0 ) && ( i_posy >= 0 ) ) @@ -1592,7 +1592,6 @@ static subpicture_t *render( decoder_t *p_dec ) /* Correct positioning of SPU */ p_spu->b_absolute = p_sys->b_absolute; - p_spu->i_flags = p_sys->i_spu_position; p_spu->i_x = p_sys->i_spu_x; p_spu->i_y = p_sys->i_spu_y; p_spu->i_original_picture_width = 720;