From 39d4e1ea6098474551b2194268920abd88d564a6 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 25 Apr 2008 20:37:35 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] remove unused cases and empty switch 20080425203735-4f0f6-c0442fcf57e3f08b81bc1be3d69f5cfa0257b52a.gz --- gst/liveadder/liveadder.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index eaf396d..cc69f90 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -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; } -- 2.7.4