[Bug 694299] crash in put_pixels16_sse2() with SVQ1 video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 18 04:21:31 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694299
  GStreamer | gst-libav | unspecified

--- Comment #22 from Arnaud Vrac <rawoul at gmail.com> 2013-07-18 11:21:25 UTC ---
After some more investigation it turns out the gstlibav code is right, libav
does need padding on top and left of the planes. The padding offset are
computed in video_get_buffer in libavcodec/utils.c, and in the crash is due to
the fact that the UV plane offsets are not computed correctly in
gst_video_info_align. The offsets are not aligned to the stride_align values,
which is why the SIMD instructions crash with a general protection error.

For the levent_1.mov video, libav uses the following offsets for each plane:

offset[0] = 6160
offset[1] = 400
offset[2] = 400

Whereas gstreamer uses the following values:

plane 0: comp: 0, hedge 16 vedge 16 align 15 stride 384 offset 6160
plane 1: comp: 1, hedge 4 vedge 4 align 15 stride 96 offset 388
plane 2: comp: 2, hedge 4 vedge 4 align 15 stride 96 offset 388

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