Commit 81cadeec authored by Wim Taymans's avatar Wim Taymans Committed by Wim Taymans
Browse files

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
parent 2633d771
...@@ -2523,6 +2523,7 @@ gst_bin_continue_func (BinContinueData * data) ...@@ -2523,6 +2523,7 @@ gst_bin_continue_func (BinContinueData * data)
transition = (GstStateChange) GST_STATE_TRANSITION (current, next); transition = (GstStateChange) GST_STATE_TRANSITION (current, next);
GST_STATE_NEXT (bin) = next; GST_STATE_NEXT (bin) = next;
GST_STATE_PENDING (bin) = pending;
/* mark busy */ /* mark busy */
GST_STATE_RETURN (bin) = GST_STATE_CHANGE_ASYNC; GST_STATE_RETURN (bin) = GST_STATE_CHANGE_ASYNC;
GST_OBJECT_UNLOCK (bin); GST_OBJECT_UNLOCK (bin);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment