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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 15 11:06:00 UTC 2016


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

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Basically we should remember the frame rate and not the duration as a fraction,
start counting from a anchor the number of frames and then calculate the
current duration based on the number of frames, the frame rate and the anchor.

The anchor should probably be based on the last known upstream PTS/DTS and be
reset whenever upstream provides a new timestamp somehow. But also needs to
take into account changing frame rates, and subclasses providing durations
sometimes instead of nothing, and ...

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