[Bug 748316] hlsdemux The end offset (range_end) of a segment is not calculated properly in the m3u8 parser

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 26 10:33:43 PDT 2015


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #302304|none                        |needs-work
             status|                            |

--- Comment #17 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 302304:
 --> (https://bugzilla.gnome.org/review?bug=748316&attachment=302304)

::: ext/soup/gstsouphttpsrc.c
@@ +1920,3 @@
   /* Wait for create() to handle the jump in offset. */
   src->request_position = segment->start;
+  src->stop_position = segment->stop - 1;

This is not correct yet. segment->stop can be GST_CLOCK_TIME_NONE, in which
case it should stay as that. And src->stop_position is compared against
segment->stop a few lines above, which will now always fail.

-- 
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