diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2008-04-25 20:37:35 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-17 19:29:04 +0100 |
commit | 39d4e1ea6098474551b2194268920abd88d564a6 (patch) | |
tree | 3a4d37f79de9d2abb8fbef0a9feff8094c10067d /gst | |
parent | 1dc81fa5e3418df92aa58bb1645d09ab944b40dc (diff) | |
download | gst-plugins-bad-39d4e1ea6098474551b2194268920abd88d564a6.tar.gz gst-plugins-bad-39d4e1ea6098474551b2194268920abd88d564a6.tar.bz2 gst-plugins-bad-39d4e1ea6098474551b2194268920abd88d564a6.zip |
[MOVED FROM GST-P-FARSIGHT] remove unused cases and empty switch
20080425203735-4f0f6-c0442fcf57e3f08b81bc1be3d69f5cfa0257b52a.gz
Diffstat (limited to 'gst')
-rw-r--r-- | gst/liveadder/liveadder.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index eaf396d6..cc69f90c 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; } |