From 9c7da93b9df526fd93dc14038b0a00835f82002e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 1 May 2014 15:59:28 +0200 Subject: [PATCH] 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. --- ext/hls/gsthlsdemux.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index 28b416d429..4e99e93ad8 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; }