[Bug 775351] multihandlesink: buffers-queued is off by one

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 29 17:15:46 UTC 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |slomo at coaxion.net
         Resolution|---                         |FIXED

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 58be3093449583d413e94233b27e4b1009b17704
Author: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
Date:   Tue Nov 29 15:30:43 2016 +0100

    multihandlesink: Fix buffers-queued being off by one

    max_buffer_usage is the index of the oldest buffer in the queue,
    starting at zero, not the number of buffers queued.

    find_limits returns the index of the oldest buffer that satisfies the
    limits in its min_idx parameter, not the number of buffers needed. Fix
    this use too in order to keep passing the tests that read
    buffers-queued.

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

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