[Bug 779088] New: GstVideoEncoderBase produces very incorrect dts

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 22 17:53:45 UTC 2017


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

            Bug ID: 779088
           Summary: GstVideoEncoderBase produces very incorrect dts
    Classification: Platform
           Product: GStreamer
           Version: 1.11.1
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: socialmediamaster9000 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This bug is subtle and involves segment boundaries:

GstVideoEncoderBase, if dts == -1, will attempt to set it to a sane value.

In one case, it picks the "lowest unsent PTS". However, consider the case where
there are e.g. 2 outstanding frames: one from one segment and another in a
different segment. You cannot compare the PTS of these frames without factoring
in the segment base. However, the code does not do that at all:

https://github.com/GStreamer/gst-plugins-base/blob/master/gst-libs/gst/video/gstvideoencoder.c#L2114

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