mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue