From dd7a1407a40a46110630edd6dfec34b5e84a8a7e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 10 Nov 2017 15:01:04 +0100 Subject: [PATCH] decodebin3: Don't forward already-handling SELECT_STREAMS Upstream might respond negatively to the event, whereas we actually handled it. --- gst/playback/gstdecodebin3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c index 3f09a1c26c..8d6ea536c4 100644 --- a/gst/playback/gstdecodebin3.c +++ b/gst/playback/gstdecodebin3.c @@ -2541,6 +2541,8 @@ ghost_pad_event_probe (GstPad * pad, GstPadProbeInfo * info, SELECTION_UNLOCK (dbin); GST_DEBUG_OBJECT (pad, "Already handled/handling that SELECT_STREAMS event"); + gst_event_unref (event); + ret = GST_PAD_PROBE_HANDLED; break; } dbin->select_streams_seqnum = seqnum;