playback: Stop giving "source" as name to sources

This makes it very hard to understand what source we are talking about

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1120>
This commit is contained in:
Thibault Saunier 2021-04-21 22:19:39 -04:00 committed by GStreamer Marge Bot
parent 7066c849e4
commit 2e13d97dd6

View file

@ -1428,7 +1428,7 @@ gen_source_element (GstURISourceBin * urisrc)
if (IS_BLACKLISTED_URI (urisrc->uri))
goto uri_blacklisted;
source = gst_element_make_from_uri (GST_URI_SRC, urisrc->uri, "source", &err);
source = gst_element_make_from_uri (GST_URI_SRC, urisrc->uri, NULL, &err);
if (!source)
goto no_source;