Skip to content

Commit

Permalink
playback: Stop giving "source" as name to sources
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
thiblahute authored and GStreamer Marge Bot committed May 13, 2021
1 parent 7066c84 commit 2e13d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gst/playback/gsturisourcebin.c
Expand Up @@ -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;

Expand Down

0 comments on commit 2e13d97

Please sign in to comment.