urisourcebin: Drop some dead code

The ret == GST_STATE_CHANGE_FAILURE is handled in the previous for loop
already.

CID: 1398544
This commit is contained in:
Arun Raghavan 2017-01-11 17:14:46 +05:30
parent 1eedb4ea91
commit a2c2b22176
2 changed files with 1 additions and 3 deletions

2
common

@ -1 +1 @@
Subproject commit 39ac2f563e12d22100e320c95aaab8d8e5812ca9
Subproject commit f980fd91c1c1fd01333966041a4a535366e897bd

View 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)