GNOME Bugzilla – Bug 670968
hlsdemux sets fetcher's location twice
Last modified: 2012-02-29 08:53:29 UTC
Created attachment 208573 [details] [review] hlsdemux: don't set the fetcher's location twice In the hlsdemuxer, the fetcher is created by calling gst_element_make_from_uri where the uri of the newly created element is already set. Latter, the hlsdemuxer sets the fetcher's location property directly. This isn't a problem when using HTTP but it is when trying to play a local file because filesrc doesn't handle file:// URIs in the location property. I've attached a patch which removes the line where the location is set to prevent this.
commit b5004e058b6da66dd3f5808b5e67bad8b29bf4cd Author: Xavier Queralt <xqueralt@gmail.com> Date: Tue Feb 14 11:57:00 2012 +0100 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