gstbin: Remove unused variable.

The return value of gst_element_change_state isn't used after that call.
This commit is contained in:
Edward Hervey 2009-04-03 12:17:33 +02:00
parent f096c7d4e0
commit f68573dc42

View file

@ -2530,7 +2530,6 @@ gst_bin_continue_func (BinContinueData * data)
GstBin *bin;
GstState current, next, pending;
GstStateChange transition;
GstStateChangeReturn ret;
bin = data->bin;
pending = data->pending;
@ -2560,7 +2559,7 @@ gst_bin_continue_func (BinContinueData * data)
gst_element_state_get_name (current),
gst_element_state_get_name (next), gst_element_state_get_name (pending));
ret = gst_element_change_state (GST_ELEMENT_CAST (bin), transition);
gst_element_change_state (GST_ELEMENT_CAST (bin), transition);
GST_STATE_UNLOCK (bin);
GST_DEBUG_OBJECT (bin, "state continue done");