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:
Xavier Queralt 2012-02-14 11:57:00 +01:00 committed by Sebastian Dröge
parent ddfcfb5a7a
commit b5004e058b

View file

@ -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);