mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
decodebin3: fix hang issue when remove failing stream
Need mark selection_update to true when update selection, otherwise, pipeline will not handle this selection update sometimes when this flag has been reset Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4277>
This commit is contained in:
parent
58d1ab4618
commit
8541d6b990
1 changed files with 1 additions and 0 deletions
|
@ -2312,6 +2312,7 @@ check_slot_reconfiguration (GstDecodebin3 * dbin, MultiQueueSlot * slot)
|
|||
slot->dbin->requested_selection =
|
||||
remove_from_list (slot->dbin->requested_selection,
|
||||
gst_stream_get_stream_id (slot->active_stream));
|
||||
dbin->selection_updated = TRUE;
|
||||
SELECTION_UNLOCK (dbin);
|
||||
reassign_slot (dbin, slot);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue