From: Arun Raghavan Date: Wed, 11 Jan 2017 11:44:46 +0000 (+0530) Subject: urisourcebin: Drop some dead code X-Git-Tag: 1.12.2~170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2c2b22176dbb8520b79680445367354b26836dd;p=platform%2Fupstream%2Fgst-plugins-base.git urisourcebin: Drop some dead code The ret == GST_STATE_CHANGE_FAILURE is handled in the previous for loop already. CID: 1398544 --- diff --git a/common b/common index 39ac2f5..f980fd9 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 39ac2f563e12d22100e320c95aaab8d8e5812ca9 +Subproject commit f980fd91c1c1fd01333966041a4a535366e897bd diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 6ca85a5..e35b68d 100644 --- a/gst/playback/gsturisourcebin.c +++ b/gst/playback/gsturisourcebin.c @@ -2841,8 +2841,6 @@ gst_uri_source_bin_change_state (GstElement * element, goto setup_failed; } } - if (ret == GST_STATE_CHANGE_FAILURE) - goto setup_failed; if (urisrc->source) ret = gst_element_set_state (urisrc->source, GST_STATE_PAUSED); if (ret == GST_STATE_CHANGE_FAILURE)