[Bug 732621] New: video-info: wrong stride with NV12 buffers
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jul 2 05:12:48 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=732621
GStreamer | gst-plugins-base | 1.2.0
Summary: video-info: wrong stride with NV12 buffers
Classification: Platform
Product: GStreamer
Version: 1.2.0
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: fabien.dessenne at st.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
In video-info.c, the fill_planes() function align the strides value to multiple
of 4:
info->stride[0] = GST_ROUND_UP_4 (width);
info->stride[1] = info->stride[0];
This is wrong, the stride (as well as the width) shall be rounded to a multiple
of 2. Indeed the NV12 pixel format uses 2x2 sub-sampling (details:
http://www.fourcc.org/yuv.php#NV12), and as a consequence it is expected that
the dimensions of a NV12 buffer are multiple of 2.
--
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