mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
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:
parent
1eedb4ea91
commit
a2c2b22176
2 changed files with 1 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 39ac2f563e12d22100e320c95aaab8d8e5812ca9
|
||||
Subproject commit f980fd91c1c1fd01333966041a4a535366e897bd
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue