[MOVED FROM GST-P-FARSIGHT] remove unused cases and empty switch

20080425203735-4f0f6-c0442fcf57e3f08b81bc1be3d69f5cfa0257b52a.gz
This commit is contained in:
Youness Alaoui 2008-04-25 20:37:35 +00:00 committed by Edward Hervey
parent 1dc81fa5e3
commit 39d4e1ea60

View file

@ -1300,8 +1300,6 @@ gst_live_adder_change_state (GstElement * element, GstStateChange transition)
adder = GST_LIVE_ADDER (element);
switch (transition) {
case GST_STATE_CHANGE_NULL_TO_READY:
break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
{
GST_OBJECT_LOCK (adder);
@ -1312,21 +1310,12 @@ gst_live_adder_change_state (GstElement * element, GstStateChange transition)
GST_OBJECT_UNLOCK (adder);
break;
}
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
break;
case GST_STATE_CHANGE_PAUSED_TO_READY:
break;
default:
break;
}
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
switch (transition) {
default:
break;
}
return ret;
}