* the STATE_LOCK */
gst_element_commit_state (element);
gst_element_lost_state (element);
+ if (state == GST_STATE_PENDING (element)) {
+ GST_STATE_UNLOCK (element);
+ return GST_STATE_CHANGE_ASYNC;
+ }
}
/* start with the current state */
else
return GST_STATE_CHANGE_SUCCESS;
}
-
}
/**