Commit 51e62646 authored by Peter Bak Nielsen's avatar Peter Bak Nielsen Committed by 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: default avatarLaurent Aimar <fenrir@videolan.org>
parent 772bf3a2
......@@ -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;
......
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