GNOME Bugzilla – Bug 738092
basesink: clamp reported position based on direction
Last modified: 2014-12-11 14:17:28 UTC
When using a negative rate (rate being segment.rate * segment.applied_rate), we will end up reporting decreasing positions, therefore adjust the clamping against last reported value accordingly. Fixes positions getting properly reported with applied_rate < 0.0
Created attachment 287967 [details] [review] basesink: clamp reported position based on direction
commit 05092eda8ebd241747b70c3a73aca520cfacccab Author: Edward Hervey <bilboed@bilboed.com> Date: Tue Oct 7 16:44:45 2014 +0200 basesink: clamp reported position based on direction When using a negative rate (rate being segment.rate * segment.applied_rate), we will end up reporting decreasing positions, therefore adjust the clamping against last reported value accordingly. Fixes positions getting properly reported with applied_rate < 0.0 https://bugzilla.gnome.org/show_bug.cgi?id=738092