diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-11-22 00:04:03 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-01-12 16:10:37 +0100 |
commit | 3f9d34f55e031c663d807258dfa156b95b995d55 (patch) | |
tree | 14ff62937095fb605b62b44660ce887cc6648685 /test/v4l2_videodevice/v4l2_videodevice_test.cpp | |
parent | fca110915525be2105f5495f5f80943261be6757 (diff) |
libcamera: v4l2_videodevice: Align which type variable is used in queueBuffer()
Reading V4L2VideoDevice::queueBuffer() is confusing since buf.type is
first set to bufferType_ but then both variables are used in V4L2 macros
to operate based on which type of buffer is being processed. Align on
only using buf.type since it has the most existing users.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_videodevice_test.cpp')
0 files changed, 0 insertions, 0 deletions