[vlc-devel] commit: Fix positioning of dvbsub. closes #1686 (Derk-Jan Hartman )
git version control
git at videolan.org
Thu Jul 10 14:06:15 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Jul 10 02:07:49 2008 +0200| [9dc1a1ae673fbe4c9519de2e794e5855b15bff8a]
Fix positioning of dvbsub. closes #1686
This was caused by commit 23cc599d06abb5c84913c7399dd08c6b283fc49e and an attempt at fixing it in commit 251648e32246c48729986e65678bac16e5061e47.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9dc1a1ae673fbe4c9519de2e794e5855b15bff8a
---
modules/codec/dvbsub.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c
index a56c83d..677c401 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;
More information about the vlc-devel
mailing list