[Bug 733501] v4l2: Fully support v4l2_plane.data_offset

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 3 19:36:42 UTC 2017


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

--- Comment #3 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Created attachment 362932
  --> https://bugzilla.gnome.org/attachment.cgi?id=362932&action=edit
v4l2allocator: Add support for data_offset

In MPLANE mode, the driver may set data_offset, which represent some
padding at the start of the buffer used internally. This portion of the
data need to be skipped, though it is included in bytesused.

This patch removes frame size sanity check as the method used will no
longer work. This check was simply there to help detect broken kernel
drivers. It would be re-implement by estimating the plane size, which is
not totally trivial and may be too much work for a simple debug check.

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