From 7a3d1892503370113938b60fee58efe99cde4cde Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Sun, 10 May 2015 20:10:49 +0200 Subject: [PATCH] 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 --- gst/mpegtsdemux/mpegtsbase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c index 481695a..cf69a18 100644 --- a/gst/mpegtsdemux/mpegtsbase.c +++ b/gst/mpegtsdemux/mpegtsbase.c @@ -1326,7 +1326,7 @@ no_initial_pcr: mpegts_packetizer_clear (base->packetizer); GST_WARNING_OBJECT (base, "Couldn't find any PCR within the first %d bytes", 10 * 65536); - return GST_FLOW_ERROR; + return GST_FLOW_OK; } -- 2.7.4