diff options
author | Edward Hervey <edward@centricular.com> | 2017-11-10 15:01:04 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-02-10 12:17:38 +0100 |
commit | dd7a1407a40a46110630edd6dfec34b5e84a8a7e (patch) | |
tree | 3626647abe761bd256cf42e6f608cc07ac9a40b6 | |
parent | 401cadfd7424a45b387951d2329da24fb2b8ab9b (diff) |
decodebin3: Don't forward already-handling SELECT_STREAMS
Upstream might respond negatively to the event, whereas we actually
handled it.
-rw-r--r-- | gst/playback/gstdecodebin3.c | 2 |
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; |