[Bug 753344] New: Patch for fix from ruDREAM for problem playing live HLS stream
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Aug 7 00:51:56 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753344
Bug ID: 753344
Summary: Patch for fix from ruDREAM for problem playing live
HLS stream
Classification: Platform
Product: GStreamer
Version: 1.5.2
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: rudreamlog at yandex.ru
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 308878
--> https://bugzilla.gnome.org/attachment.cgi?id=308878&action=edit
Patch for fix from ruDREAM for problem playing live HLS stream
diff -u --recursive --new-file original/ext/hls/m3u8.c new/ext/hls/m3u8.c
--- original/ext/hls/m3u8.c 2015-06-07 10:04:45.000000000 +0300
+++ new/ext/hls/m3u8.c 2015-08-06 23:41:02.348000058 +0300
@@ -850,7 +850,6 @@
}
if (m3u8->files && self->sequence == -1) {
- self->current_file = g_list_first (m3u8->files);
if (GST_M3U8_CLIENT_IS_LIVE (self)) {
/* for live streams, start GST_M3U8_LIVE_MIN_FRAGMENT_DISTANCE from
the end of the playlist. See section 6.3.3 of HLS draft */
@@ -859,8 +858,10 @@
self->sequence =
GST_M3U8_MEDIA_FILE (g_list_nth_data (m3u8->files,
pos >= 0 ? pos : 0))->sequence;
- } else
+ } else {
+ self->current_file = g_list_first (m3u8->files);
self->sequence = GST_M3U8_MEDIA_FILE
(self->current_file->data)->sequence;
+ }
self->sequence_position = 0;
GST_DEBUG ("Setting first sequence at %u", (guint) self->sequence);
}
--
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