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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 10 04:27:13 PDT 2012


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

--- Comment #12 from Arnaud Vrac <rawoul at gmail.com> 2012-08-10 11:27:07 UTC ---
There might also be some other problems, from the logs I see the following
alignment values:


  libav
gstffmpegviddec.c:1497:gst_ffmpegviddec_decide_allocation:<avdec_mpeg4-0>
aligned dimension 640x480 -> 672x512 padding t:16 l:16 r:16 b:16, stride_align
7:7:7:7

default gstvideopool.c:136:gst_video_info_align: plane 0: hedge 16 vedge 16
align 7 stride 672
default gstvideopool.c:136:gst_video_info_align: plane 1: hedge 8 vedge 8 align
7 stride 336                                                                    
default gstvideopool.c:136:gst_video_info_align: plane 2: hedge 8 vedge 8 align
7 stride 336

The 7 stride align should be 15 for sse2 instructions to work. Also on plane 1
and 2 hedge is 8 so that probably is where the misaligned access is. The start
address of plane 1 will be 672x512+8 in this case, which is wrong.

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