mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
urisourcebin: Remove duplicate call
We ensure sources are removed in PAUSED->READY->NULL. No need to call it when creating the source. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
64c81b6972
commit
f42ca96ad9
1 changed files with 0 additions and 3 deletions
|
@ -2070,9 +2070,6 @@ setup_source (GstURISourceBin * urisrc)
|
|||
|
||||
GST_DEBUG_OBJECT (urisrc, "setup source");
|
||||
|
||||
/* delete old src */
|
||||
remove_source (urisrc);
|
||||
|
||||
/* create and configure an element that can handle the uri */
|
||||
if (!(urisrc->source = gen_source_element (urisrc)))
|
||||
goto no_source;
|
||||
|
|
Loading…
Reference in a new issue