[Bug 680796] [0.11] Crash because of misaligned frame data

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 10 08:06:14 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680796
  GStreamer | gst-ffmpeg | git

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #13 from Wim Taymans <wim.taymans at gmail.com> 2012-08-10 15:06:09 UTC ---
put_pixels16_sse2() is only used on the Y plane. The only place where It could
be misaligned would be in the imagesink when XSHM is disabled. Please test with
the following patch:

commit 9b3849db1ccf4f6b985d8fd1eeb0913ae44bc6be
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Aug 10 16:58:47 2012 +0200

    x11: fix alignment in non-XSHM case

    Align the allocated memory to 16 bytes. When doing XSHM we are already
aligned
    to a page boundary but without, we use plain g_malloc, which could allocate
    aligned on 8 bytes only.

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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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