GNOME Bugzilla – Bug 742916
basesink: Fix QoS handling if the subclass has a prepare/prepare_list implementation
Last modified: 2015-05-13 10:56:19 UTC
See commit message
Created attachment 294521 [details] [review] basesink: Fix QoS handling if the subclass has a prepare/prepare_list implementation We have to calculate the difference against the current clock running time instead of just using 0 as jitter, and also have to update some internal variables. Which in the end means that we can just reuse most of do_sync().
One problem here is that this also already updates the position before prepare() is called, while that should really only happen before render(). The syncing logic is storing too many things in the instance struct instead of passing it around as parameters to the different functions and setting it once.
Bug #749258 solves this and has a better patch. *** This bug has been marked as a duplicate of bug 749258 ***