demux: ts: delay es creating until 1st data packet (fix #6175, #4264)

Multimedia / VLC - Francois Cartegnie [free.fr] - 28 January 2015 17:04 UTC

Some recorded streams list multiple program but only 1 stream is really recorder. VLC defaults program to first created ES.

Now creates ES on first data packet, so the default program always has data. Fixes all default program selection issues.

All dreambox recordings issues issues/TS/programselection/

and Header less VDR recordings issues/TS/TopField/TopField%20TF7700HSCI%20HD%20record.rec

5902bad demux: ts: delay es creating until 1st data packet (fix #6175, #4264)
modules/demux/ts.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 54 insertions(+), 7 deletions(-)

Upstream: git.videolan.org


  • Share