From 9dc1a1ae673fbe4c9519de2e794e5855b15bff8a Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Thu, 10 Jul 2008 02:07:49 +0200 Subject: [PATCH] Fix positioning of dvbsub. closes #1686 This was caused by commit 23cc599d06abb5c84913c7399dd08c6b283fc49e and an attempt at fixing it in commit 251648e32246c48729986e65678bac16e5061e47. --- modules/codec/dvbsub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.2