GNOME Bugzilla – Bug 646495
hlsdemux: Add missing patches from my local branch
Last modified: 2011-04-04 07:14:56 UTC
Hi, After seeing two commits in the hlsdemux element that I had already fixed I have dug in my local branches and I noticed 3 missing commits. You can find it in my hls branch [1]. The first commit make use of a GstAdapter to store the downloaded buffers of a fragment instead of using gst_buffer_join for each buffer. This reduce the usage of CPU considerably at the end of the fragment when gst_buffer_join() becomes too slow, probably because it requires a memcopy. The second one removes the list of media files when a playlist is updated, otherwise the media files parsed in the downloaded playlist are appended to the current list instead of replacing the existing ones. The 3rd one just checks properly that the downloaded playlist is properly encoded in utf-8. [1]https://gitorious.org/ylatuya-gstreamer/gst-plugins-bad/commits/hls
commit 650418b9d86273af9ce19af536ad8665658c2162 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Sat Apr 2 01:21:34 2011 +0200 hlsdemux: validate properly utf-8 playlist commit 650142f0549ffe62f249e78084d038abcc574980 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Sat Apr 2 01:10:37 2011 +0200 hlsdemux: m3u8: clear the list of media files before updating the playlist commit e13ef203e3fc06804cebf5b347412cbe541f3a40 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Sat Apr 2 01:08:02 2011 +0200 hlsdemux: use and adapter instead of costful buffer joins