mpegtsdemux: do not abort playback when no PCR were found during initial scan

Seeking will not be possible in those streams but at least the can be
played. Note scanning is only done when tsdemux is configured in pull mode.

https://bugzilla.gnome.org/show_bug.cgi?id=608148
This commit is contained in:
Arnaud Vrac 2015-05-10 20:10:49 +02:00 committed by Edward Hervey
parent 35a1720de1
commit 7a3d189250

View file

@ -1326,7 +1326,7 @@ no_initial_pcr:
mpegts_packetizer_clear (base->packetizer); mpegts_packetizer_clear (base->packetizer);
GST_WARNING_OBJECT (base, "Couldn't find any PCR within the first %d bytes", GST_WARNING_OBJECT (base, "Couldn't find any PCR within the first %d bytes",
10 * 65536); 10 * 65536);
return GST_FLOW_ERROR; return GST_FLOW_OK;
} }