mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstbin: Remove unused variable.
The return value of gst_element_change_state isn't used after that call.
This commit is contained in:
parent
f096c7d4e0
commit
f68573dc42
1 changed files with 1 additions and 2 deletions
|
@ -2530,7 +2530,6 @@ gst_bin_continue_func (BinContinueData * data)
|
||||||
GstBin *bin;
|
GstBin *bin;
|
||||||
GstState current, next, pending;
|
GstState current, next, pending;
|
||||||
GstStateChange transition;
|
GstStateChange transition;
|
||||||
GstStateChangeReturn ret;
|
|
||||||
|
|
||||||
bin = data->bin;
|
bin = data->bin;
|
||||||
pending = data->pending;
|
pending = data->pending;
|
||||||
|
@ -2560,7 +2559,7 @@ gst_bin_continue_func (BinContinueData * data)
|
||||||
gst_element_state_get_name (current),
|
gst_element_state_get_name (current),
|
||||||
gst_element_state_get_name (next), gst_element_state_get_name (pending));
|
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_STATE_UNLOCK (bin);
|
||||||
GST_DEBUG_OBJECT (bin, "state continue done");
|
GST_DEBUG_OBJECT (bin, "state continue done");
|
||||||
|
|
Loading…
Reference in a new issue