[Bug 777682] hls: m3u8: Set sequence position for live

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 24 12:43:31 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=777682

--- Comment #6 from Seungha Yang <sh.yang at lge.com> ---
(In reply to Seungha Yang from comment #5)
> Created attachment 344148 [details] [review]
> hls: Exclusion of last three fragment in case of live playback
> 

Current hlsdemux starts from the 4th fragment of the end of playlist.
But, m3u8 parser set the starting fragment to the 3rd one always, and go back
it to the 4th in hlsdemux. It seems weird to me.. 

 12 0:00:01.589298541 29752      0x1203ca0 DEBUG                    hls
m3u8.c:746:gst_m3u8_update: Live playlist range 0:00:00.000000000 ->
0:05:00.000000000
 13 0:00:01.589317656 29752      0x1203ca0 DEBUG                    hls
m3u8.c:773:gst_m3u8_update: first sequence: 358891
 14 0:00:01.589325910 29752      0x1203ca0 LOG                      hls
m3u8.c:777:gst_m3u8_update: processed media playlist 01.m3u8, 30 fragments
 15 0:00:01.589339508 29752      0x1203ca0 DEBUG               hlsdemux
gsthlsdemux.c:1455:gst_hls_demux_update_playlist:<hlsdemux0> sequence:358891 ,
first_sequence:358864 , last_sequence:358893
 16 0:00:01.589350707 29752      0x1203ca0 DEBUG               hlsdemux
gsthlsdemux.c:1462:gst_hls_demux_update_playlist:<hlsdemux0> Sequence is beyond
playlist. Moving back to 358890

Also, following code check equality but there is nothing changed if they are
equal. However, still print updating log
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/hls/gsthlsdemux.c#n1456

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list