Commit 820f8f2a authored by Ilkka Ollakka's avatar Ilkka Ollakka

zvbi: fix duration on text subtitle

Missing 0 from commit 18305c12 and change to
use CLOCK_FREQ so it's easier to understand.
parent 34635d83
......@@ -533,7 +533,7 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
p_spu->p_region->i_y = 0;
p_spu->i_start = i_pts;
p_spu->i_stop = b_text ? i_pts + 1000000 : 0;
p_spu->i_stop = b_text ? i_pts + (10*CLOCK_FREQ): 0;
p_spu->b_ephemer = true;
p_spu->b_absolute = b_text ? false : true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment