GNOME Bugzilla – Bug 680526
tsdemux: crashes when seeking in HLS
Last modified: 2013-09-18 16:47:21 UTC
Don't think it's stream-specific, happens with multiple streams. Applies to 0.10 git/SDK and 0.11. Works fine with latest 0.10 release (mpegtsdemux). -base/tests/examples/playback$ gdb --args ./.libs/lt-playback-test 0 http://ipad.akamai.com/Video_Content/cbc/being_erica/all.m3u8 Program received signal SIGSEGV, Segmentation fault.
+ Trace 230577
Thread 140736995165952 (LWP 9922)
I'm not getting the segfault ... because it can't seek anymore. I get this message whenever I seek 0:00:30.827658710 29612 0x7f530c0556d0 ERROR hlsdemux gsthlsdemux.c:966:gst_hls_demux_cache_fragments:<hlsdemux1> Could not fetch the child playlist http://ipad.akamai.com/Video_Content/cbc/being_erica/1240k/prog_index.m3u8
The tsdemux bug seems to be gone. I fixed the bug that prevented any seek from happening (the GstUriDownloader was set to cancelled state but never reset on seek). commit b92791d1020ff294c358ebc75bbb95e8b9c43417 Author: Olivier Crête <olivier.crete@collabora.com> Date: Tue Sep 17 17:41:39 2013 -0400 hlsdemux: Reset GstUriDownloader cancellation when restarting to play