Commit 93823de1 authored by Wim Taymans's avatar Wim Taymans

gst/gstelement.c: Small tweak, element in ASYNC remains ASYNC.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_state),
(gst_element_change_state):
Small tweak, element in ASYNC remains ASYNC.
parent 2d3e9f64
2005-09-30 Wim Taymans <wim@fluendo.com>
* gst/gstelement.c: (gst_element_set_state),
(gst_element_change_state):
Small tweak, element in ASYNC remains ASYNC.
2005-09-30 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasesink.c: (gst_base_sink_change_state):
......
......@@ -1854,6 +1854,10 @@ gst_element_set_state (GstElement * element, GstState state)
* 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 */
......@@ -2094,7 +2098,6 @@ was_ok:
else
return GST_STATE_CHANGE_SUCCESS;
}
}
/**
......
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