[Bug 777682] hls: m3u8: Set sequence position for live
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jan 24 10:42:27 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777682
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #344095|none |needs-work
status| |
--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 344095:
--> (https://bugzilla.gnome.org/review?bug=777682&attachment=344095)
::: ext/hls/m3u8.c
@@ +765,3 @@
for (i = 0; i < GST_M3U8_LIVE_MIN_FRAGMENT_DISTANCE - 1 && file->prev;
+ ++i) {
+ sequence_pos -= GST_M3U8_MEDIA_FILE (file->data)->duration;
You should probably check here that sequence_pos never becomes < 0 (i.e. wraps
around)
--
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