mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
GstBin: set PENDING_STATE correctly
Set the pending state correctly when we are going to perform an async state_continue on the bin. Fixes #580121
This commit is contained in:
parent
2633d77126
commit
81cadeecd2
1 changed files with 1 additions and 0 deletions
|
@ -2523,6 +2523,7 @@ gst_bin_continue_func (BinContinueData * data)
|
|||
transition = (GstStateChange) GST_STATE_TRANSITION (current, next);
|
||||
|
||||
GST_STATE_NEXT (bin) = next;
|
||||
GST_STATE_PENDING (bin) = pending;
|
||||
/* mark busy */
|
||||
GST_STATE_RETURN (bin) = GST_STATE_CHANGE_ASYNC;
|
||||
GST_OBJECT_UNLOCK (bin);
|
||||
|
|
Loading…
Reference in a new issue