summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2021-04-21 22:19:39 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-05-13 11:58:12 +0000
commit2e13d97dd64e534ba38411c9f9818ef7a889f0ac (patch)
tree8b37af96577708d6c3a4c6741fbc3f903063c324
parent7066c849e4123166854bb84eb1fd69e38646400b (diff)
downloadgstreamer-plugins-base-2e13d97dd64e534ba38411c9f9818ef7a889f0ac.tar.gz
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>
-rw-r--r--gst/playback/gsturisourcebin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c
index 3dcb7840d..5a00630ad 100644
--- a/gst/playback/gsturisourcebin.c
+++ b/gst/playback/gsturisourcebin.c
@@ -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;