diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-18 18:50:11 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-25 23:47:13 +0900 |
commit | 12fa2fe02027a96de6adfddef01381128f23a0dd (patch) | |
tree | 7dc530237881a06c55dd9656d6d22cfee58fa25e /test/v4l2_videodevice/v4l2_videodevice_test.h | |
parent | 3f01ccf24b5866b23ca37bcee9e92a648363e4e1 (diff) |
v4l2: v4l2_camera_proxy: Fix buffer flags related to queueing
Fix buffer flags related to queueing and dequeueing:
- don't allow a buffer with the same index that is already in the queue
to be enqueued again
- don't clear the done flag upon qbuf
- do clear the done flag upon dqbuf
- set the flags in V4L2CameraProxy's internal buffers, and not just in
the buffers returned from qbuf
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_videodevice_test.h')
0 files changed, 0 insertions, 0 deletions