urisourcebin: Drop some dead code
authorArun Raghavan <arun@arunraghavan.net>
Wed, 11 Jan 2017 11:44:46 +0000 (17:14 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Wed, 11 Jan 2017 11:44:46 +0000 (17:14 +0530)
The ret == GST_STATE_CHANGE_FAILURE is handled in the previous for loop
already.

CID: 1398544

common
gst/playback/gsturisourcebin.c

diff --git a/common b/common
index 39ac2f5..f980fd9 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 39ac2f563e12d22100e320c95aaab8d8e5812ca9
+Subproject commit f980fd91c1c1fd01333966041a4a535366e897bd
index 6ca85a5..e35b68d 100644 (file)
@@ -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)