playback: Stop giving "source" as name to sources
authorThibault Saunier <tsaunier@igalia.com>
Thu, 22 Apr 2021 02:19:39 +0000 (22:19 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 13 May 2021 11:58:12 +0000 (11:58 +0000)
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>

gst/playback/gsturisourcebin.c

index 3dcb784..5a00630 100644 (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;