diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-01-31 17:28:04 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-03 12:14:46 +0100 |
commit | 2f516306a7b72f3f13c1648161e79ba8778351ae (patch) | |
tree | 03c900256800cbd6487714bf39d69f13742d4fad /include/linux/videodev2.h | |
parent | a78e56ecc2f214696910aff782f44fd5f9628112 (diff) |
libcamera: v4l2_device: Fix getFormatSingleplane ioctl
The single plane getFormat() function wrongly used the VIDIOC_S_FMT ioctl.
Fix that by using the more opportune VIDIOC_G_FMT one.
Fixes: ba8da0f2fcd0 ("libcamera: v4l2_device: Add methods to get/set format")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions