[Bug 765093] New: baseparse: Timestamp tracking has accumulating rounding errors when using frame rate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 15 10:20:30 UTC 2016


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

            Bug ID: 765093
           Summary: baseparse: Timestamp tracking has accumulating
                    rounding errors when using frame rate
    Classification: Platform
           Product: GStreamer
           Version: 1.8.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Audio parsers often just use the frame rate based timestamp tracking, i.e.
gst_base_parse_set_frame_rate(). The base class then simply stores fps_d/fps_n
and uses this for the buffer durations. And then uses the buffer durations to
interpolate the next buffer timestamps.

So if upstream only provides timestamps every now and then, or only one in the
very beginning, or none at all (filesrc ! mpegaudioparse ! ...), the rounding
errors caused by the division will accumulate until the point when things start
to 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