GNOME Bugzilla – Bug 757193
multiqueue: Handle negative DTS
Last modified: 2015-12-02 15:08:23 UTC
+++ This bug was initially created as a clone of Bug #756507 +++ Now that core has the notion of negative DTS, we should adjust the position/level calculation to take those into account.
I doubt this shall be considered a feature, but a bug. Edward fix would work completly in 1.4, and present a bug in 1.6 for the first group of buffers. First step first, we should implement a unit test to demonstrate.
Gave it a quick glance this morning. It won't be as trivial as expected, because like quite a few elements, it uses segment.position to store the current (buffer time) position ... which is a guint64. To make use of the new features, it would require yet-another field to store the signed position for each segment.
commit 4d96e5b8341732326243777a3667956fb4c9daf0 Author: Edward Hervey <edward@centricular.com> Date: Mon Nov 30 17:09:43 2015 +0100 multiqueue: Use signed clock values for running time calculation This improves the accuracy of queue levels and when to push buffers for buffers falling outside of the segment https://bugzilla.gnome.org/show_bug.cgi?id=757193