mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
hlsdemux: don't set the fetcher's location twice
Calling gst_element_make_from_uri already does it and filesrc fails when using file protocol in a location
This commit is contained in:
parent
ddfcfb5a7a
commit
b5004e058b
1 changed files with 0 additions and 1 deletions
|
@ -845,7 +845,6 @@ gst_hls_demux_make_fetcher_locked (GstHLSDemux * demux, const gchar * uri)
|
|||
demux->stopping_fetcher = FALSE;
|
||||
gst_element_set_bus (GST_ELEMENT (demux->fetcher), demux->fetcher_bus);
|
||||
|
||||
g_object_set (G_OBJECT (demux->fetcher), "location", uri, NULL);
|
||||
pad = gst_element_get_static_pad (demux->fetcher, "src");
|
||||
if (pad) {
|
||||
gst_pad_link (pad, demux->fetcherpad);
|
||||
|
|
Loading…
Reference in a new issue