[vlc-devel] commit: Fixed DVB-subtitles decoder subpicture flag. (Peter Bak Nielsen )
git version control
git at videolan.org
Mon Feb 8 20:33:33 CET 2010
vlc | branch: master | Peter Bak Nielsen <peter.bak.nielsen at gmail.com> | Sun Jan 3 19:52:21 2010 +0100| [51e626468feab9627eace037713e5483f58371c5] | committer: Laurent Aimar
Fixed DVB-subtitles decoder subpicture flag.
The module did not mark the subtitles it produces with "b_subtitle == true",
which causes them to be handled as OSD, and thus allowing them to become
out of sync unless video was streamed in real time...
Signed-off-by: Laurent Aimar <fenrir at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51e626468feab9627eace037713e5483f58371c5
---
modules/codec/dvbsub.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c
index 9f7d360..43c51cc 100644
--- a/modules/codec/dvbsub.c
+++ b/modules/codec/dvbsub.c
@@ -1488,6 +1488,7 @@ static subpicture_t *render( decoder_t *p_dec )
p_spu->b_ephemer = true;
//p_spu->b_fade = true;
//p_spu->i_stop = p_spu->i_start + (mtime_t) (i_timeout * 1000000);
+ p_spu->b_subtitle = true;
/* Correct positioning of SPU */
i_base_x = p_sys->i_spu_x;
More information about the vlc-devel
mailing list