[Bug 706066] xvimagesink: Fails to allocate large xvimages but does not declare this limitation on the caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 3 03:24:14 PDT 2015


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

Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.1

--- Comment #24 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
commit 964ea678dafcf4c2ad022e4c6f9948e3cec902fa
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Apr 4 12:32:14 2014 +0100

    xvimagsink: fix failure to allocate large shared memory blocks

    A previous patch increased allocations by 15 bytes in order to ensure
    16 byte alignment for g_malloc blocks. However, shared memory is
    already block aligned, and this extra 15 bytes caused allocation
    to fail when we were already allocating to the shared memory limit,
    which is a lot smaller than typical available RAM.

    Fix this by removing the alignment slack when allocating shared
    memory.

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


No comment on whether the patch fixed it, but it seems certain, so deemed
fixed.

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