summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-11-10 15:01:04 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-02-10 12:17:38 +0100
commitdd7a1407a40a46110630edd6dfec34b5e84a8a7e (patch)
tree3626647abe761bd256cf42e6f608cc07ac9a40b6 /gst
parent401cadfd7424a45b387951d2329da24fb2b8ab9b (diff)
decodebin3: Don't forward already-handling SELECT_STREAMS
Upstream might respond negatively to the event, whereas we actually handled it.
Diffstat (limited to 'gst')
-rw-r--r--gst/playback/gstdecodebin3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c
index 3f09a1c26..8d6ea536c 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;