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:
parent
401cadfd74
commit
dd7a1407a4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user