[vlc-commits] zvbi: set position to be absolute only for non-text subtitles and give reasonable stop time
Ilkka Ollakka
git at videolan.org
Tue Nov 12 17:00:17 CET 2013
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Nov 12 15:31:27 2013 +0200| [a493cee283a0f021bec55efdddfcee11cae6679c] | committer: Ilkka Ollakka
zvbi: set position to be absolute only for non-text subtitles and give reasonable stop time
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a493cee283a0f021bec55efdddfcee11cae6679c
---
modules/codec/zvbi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 1bd5f6b..ffc06cb 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -509,12 +509,12 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
p_spu->p_region->i_x = 0;
p_spu->p_region->i_y = 0;
- p_spu->p_region->i_align = i_align;
p_spu->i_start = i_pts;
- p_spu->i_stop = 0;
+ p_spu->i_stop = i_pts + 10000000;
p_spu->b_ephemer = true;
- p_spu->b_absolute = true;
+ p_spu->b_absolute = b_text ? false : true;
+ p_spu->p_region->i_align = i_align;
if( !b_text )
{
More information about the vlc-commits
mailing list