[Bug 757033] scaletempo: Does not work properly with negative rates playback

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Oct 24 09:59:37 PDT 2015


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #314019|0                           |1
        is obsolete|                            |

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 314026
  --> https://bugzilla.gnome.org/attachment.cgi?id=314026&action=edit
scaletempo: Fix handling of rate < 0

We have to reverse all samples in a buffer before processing them to properly
have continuous data from one buffer to another. As a result we will have a
negative applied rate and a rate of 1.0.

Also make sure that input buffers are correctly clipped to the segment,
otherwise our calculations are going to go wrong.

Also copy over the segment event's sequence number to the output segment while
we're at it.

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