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:
parent
329f0ccba1
commit
9f2cb50f54
@ -1212,7 +1212,7 @@ mpegts_base_scan (MpegTSBase * base)
|
|||||||
GST_DEBUG ("Scanning for initial sync point");
|
GST_DEBUG ("Scanning for initial sync point");
|
||||||
|
|
||||||
/* Find initial sync point and at least 5 PCR values */
|
/* 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);
|
GST_DEBUG ("Grabbing %d => %d", i * 65536, (i + 1) * 65536);
|
||||||
|
|
||||||
ret = gst_pad_pull_range (base->sinkpad, i * 65536, 65536, &buf);
|
ret = gst_pad_pull_range (base->sinkpad, i * 65536, 65536, &buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user