summaryrefslogtreecommitdiff
path: root/gst/mpegtsdemux/mpegtsbase.c
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2015-05-10 20:10:49 +0200
committerEdward Hervey <bilboed@bilboed.com>2016-08-03 17:15:41 +0200
commit7a3d1892503370113938b60fee58efe99cde4cde (patch)
treef549137ae4b23415746d9bd43e17134a97bafb97 /gst/mpegtsdemux/mpegtsbase.c
parent35a1720de17b0cd6a902898336a0946692dc9e63 (diff)
downloadgstreamer-plugins-bad-7a3d1892503370113938b60fee58efe99cde4cde.tar.gz
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
Diffstat (limited to 'gst/mpegtsdemux/mpegtsbase.c')
-rw-r--r--gst/mpegtsdemux/mpegtsbase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c
index 481695adc..cf69a18d0 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;
}