From 81cadeecd27ad39fcda3be0c2771ff03276dcab8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 24 Apr 2009 19:36:22 +0200 Subject: [PATCH] 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 --- gst/gstbin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gstbin.c b/gst/gstbin.c index 39da8273ba..2be44805a7 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);