mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +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/4284>
This commit is contained in:
parent
3c915cdca4
commit
8a340bcc05
1 changed files with 1 additions and 0 deletions
|
@ -2312,6 +2312,7 @@ 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));
|
||||||
|
dbin->selection_updated = TRUE;
|
||||||
SELECTION_UNLOCK (dbin);
|
SELECTION_UNLOCK (dbin);
|
||||||
reassign_slot (dbin, slot);
|
reassign_slot (dbin, slot);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue