[Bug 791269] audiorate: reset offset and next_ts if caps is changed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 19 22:33:47 UTC 2018


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

Olivier CrĂȘte <olivier.crete at ocrete.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |olivier.crete at ocrete.ca
         Resolution|---                         |FIXED

--- Comment #7 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
audiorate is already broken for reverse playback, I tried to fix it, but got
bored, so I merged hit more or less as-is.

commit 4fa850e3e6c039000fc7f648de238af6c2278469 (HEAD -> master,
upstream/master)
Author: Justin Kim <justin.kim at collabora.com>
Date:   Fri Jan 5 16:07:54 2018 +0900

    audiorate: accumulate offset by time diff

    The fomula, 'offset = time / rate', is correct only if
    the rate is never changed. When the rate is changed,
    the offset should be re-calculated based on the previous
    offset.

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

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