mpegtsbase: scan more bytes to find initial PCRs

Fixes playback of Samsung-Colorful-Variety-1080i.ts.

https://bugzilla.gnome.org/show_bug.cgi?id=729768
This commit is contained in:
Sudip Jain 2014-05-08 10:41:03 +05:30 committed by Tim-Philipp Müller
parent 329f0ccba1
commit 9f2cb50f54

View file

@ -1212,7 +1212,7 @@ mpegts_base_scan (MpegTSBase * base)
GST_DEBUG ("Scanning for initial sync point");
/* Find initial sync point and at least 5 PCR values */
for (i = 0; i < 10 && !done; i++) {
for (i = 0; i < 20 && !done; i++) {
GST_DEBUG ("Grabbing %d => %d", i * 65536, (i + 1) * 65536);
ret = gst_pad_pull_range (base->sinkpad, i * 65536, 65536, &buf);