[Bug 794906] New: qtdemux: edit list segment bound check is buggy

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 2 18:52:39 UTC 2018


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

            Bug ID: 794906
           Summary: qtdemux: edit list segment bound check is buggy
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aboya at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In pull mode (the only mode where complex edit lists are supported), the
condition to check if a frame is outside the current edit is:

   QTSAMPLE_DTS (stream, sample) >= segment->media_stop

That is wrong because it's comparing DTS with PTS (`segment->media_stop`). In
consequence, often one or two extra frames that are out-of-segment are sent
before the new GstSegment.

See the tests introduced in https://bugzilla.gnome.org/show_bug.cgi?id=794902
to see this bug in action.

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