decodebin3: Don't forward already-handling SELECT_STREAMS

Upstream might respond negatively to the event, whereas we actually
handled it.
This commit is contained in:
Edward Hervey 2017-11-10 15:01:04 +01:00 committed by Edward Hervey
parent 401cadfd74
commit dd7a1407a4

View file

@ -2541,6 +2541,8 @@ ghost_pad_event_probe (GstPad * pad, GstPadProbeInfo * info,
SELECTION_UNLOCK (dbin); SELECTION_UNLOCK (dbin);
GST_DEBUG_OBJECT (pad, GST_DEBUG_OBJECT (pad,
"Already handled/handling that SELECT_STREAMS event"); "Already handled/handling that SELECT_STREAMS event");
gst_event_unref (event);
ret = GST_PAD_PROBE_HANDLED;
break; break;
} }
dbin->select_streams_seqnum = seqnum; dbin->select_streams_seqnum = seqnum;