summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-05-01 15:59:28 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-05-01 16:18:37 +0200
commit9c7da93b9df526fd93dc14038b0a00835f82002e (patch)
treea537a3ed1b3e47e7c77432829f84733af79299fe
parent126891e9a5cc08d8bcd3abe877716f4cdfa5b168 (diff)
downloadgstreamer-plugins-bad-9c7da93b9df526fd93dc14038b0a00835f82002e.tar.gz
hlsdemux: Always succeed the LATENCY event
Upstream and our internal source is irrelevant for the latency and we don't want the LATENCY event to ever fail.
-rw-r--r--ext/hls/gsthlsdemux.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c
index 28b416d42..4e99e93ad 100644
--- a/ext/hls/gsthlsdemux.c
+++ b/ext/hls/gsthlsdemux.c
@@ -552,6 +552,13 @@ gst_hls_demux_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
gst_event_unref (event);
return TRUE;
}
+ case GST_EVENT_LATENCY:{
+ /* Upstream and our internal source are irrelevant
+ * for latency, and we should not fail here to
+ * configure the latency */
+ gst_event_unref (event);
+ return TRUE;
+ }
default:
break;
}