decodebin3: Remove failing stream from active selection also

It gets added in get_output_slot()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6323>
This commit is contained in:
Edward Hervey 2024-03-12 16:36:36 +01:00 committed by GStreamer Marge Bot
parent 5189e8b956
commit 11b1f70aea

View file

@ -2449,6 +2449,9 @@ check_slot_reconfiguration (GstDecodebin3 * dbin, MultiQueueSlot * slot)
slot->dbin->requested_selection = slot->dbin->requested_selection =
remove_from_list (slot->dbin->requested_selection, remove_from_list (slot->dbin->requested_selection,
gst_stream_get_stream_id (slot->active_stream)); gst_stream_get_stream_id (slot->active_stream));
slot->dbin->active_selection =
remove_from_list (slot->dbin->active_selection,
gst_stream_get_stream_id (slot->active_stream));
no_more_streams = slot->dbin->requested_selection == NULL; no_more_streams = slot->dbin->requested_selection == NULL;
dbin->selection_updated = TRUE; dbin->selection_updated = TRUE;
SELECTION_UNLOCK (dbin); SELECTION_UNLOCK (dbin);