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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 28 10:02:36 UTC 2017


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

Mathieu Duponchelle <mduponchelle1 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mduponchelle1 at gmail.com

--- Comment #2 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
As far as I can tell from looking at the chain method, setting these to -1 will
cause audiorate to mark itself as discont, and potentially go through the if
(skip_to_first) condition, that doesn't seem optimal, couldn't you rather
recalculate next_offset and next_ts directly ?

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