From: Wim Taymans Date: Fri, 24 Apr 2009 17:36:22 +0000 (+0200) Subject: GstBin: set PENDING_STATE correctly X-Git-Tag: RELEASE-0.10.23~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81cadeecd27ad39fcda3be0c2771ff03276dcab8;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/gstbin.c b/gst/gstbin.c index 39da827..2be4480 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -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);