[Bug 746065] level: outputs random values if channels==1

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 12 06:50:26 PDT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.1
            Summary|Level element outputs       |level: outputs random
                   |random values when caps     |values if channels==1
                   |channels`=1                 |

--- Comment #10 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 7b90bf32150897a141a29a12ecab555d8c5b7fab
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Thu Mar 12 13:49:56 2015 +0000

    level: Don't read over the end of the input memory

    Previously we advanced the in_data pointer by bps for every channel, and
then
    later again for block_size*bps. This caused us to be one sample further
than
    expected if an input buffer covered two analysis frames. And in the end
lead
    to completely bogus values reported by level.

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

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