mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
a2dpsink: Drop some dead-code
Left over from the last cleanup. CID: 1373418
This commit is contained in:
parent
ce59031b10
commit
a07bc92319
1 changed files with 1 additions and 4 deletions
|
@ -222,7 +222,7 @@ gst_a2dp_sink_remove_dynamic_elements (GstA2dpSink * self)
|
|||
static GstStateChangeReturn
|
||||
gst_a2dp_sink_change_state (GstElement * element, GstStateChange transition)
|
||||
{
|
||||
GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
|
||||
GstStateChangeReturn ret;
|
||||
GstA2dpSink *self = GST_A2DP_SINK (element);
|
||||
|
||||
switch (transition) {
|
||||
|
@ -246,9 +246,6 @@ gst_a2dp_sink_change_state (GstElement * element, GstStateChange transition)
|
|||
break;
|
||||
}
|
||||
|
||||
if (ret == GST_STATE_CHANGE_FAILURE)
|
||||
return ret;
|
||||
|
||||
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
||||
|
||||
switch (transition) {
|
||||
|
|
Loading…
Reference in a new issue