From b5004e058b6da66dd3f5808b5e67bad8b29bf4cd Mon Sep 17 00:00:00 2001 From: Xavier Queralt Date: Tue, 14 Feb 2012 11:57:00 +0100 Subject: 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 --- gst/hls/gsthlsdemux.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gst/hls') diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 15f0bfa6c..afafacaf0 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -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); -- cgit v1.2.1