[Bug 757619] hlsdemux: incorrect segment start value on bitrate switch

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 5 01:17:36 PST 2015


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

--- Comment #2 from Rajat Verma <kameyameha at gmail.com> ---
Currently in adaptive demux,  gst_adaptive_demux_stream_update_fragment_info ()
is only called for first_segment (or seek).

That's why, segment.start always comes to 0 on switching bitrate.

If I move this out of first_segment check, segment.start values come correct on
switching bitrates.

However, I see below commit, which moved this inside first_segment check
specifically.

commit 0bef1974e2dcdfff1b243a048d940540938f51c5
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date:   Tue Dec 23 01:48:41 2014 -0300

    adaptivedemux: fix segment start when exposing new streams

    Segment start needs only to be updated when starting the streams
    or after a seek, doing it during bitrate changes will cause the
    running time to go discontinuous (jump back to a previous ts)
    and QOS will drop buffers

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