diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-08 13:15:56 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-19 13:14:54 +0300 |
commit | 5b39dc6d9bf61c23e743dd97d527c1eb2bd41aee (patch) | |
tree | b3e98e526c262ed7e760ec1465d577f1325e2281 /src/cam/main.h | |
parent | 3b07397f0e7d93d54535d9c87e7b9c19d04c97f0 (diff) |
libcamera: v4l2_videodevice: Improve debugging when buffer is too small
When a dequeued buffer is too small, the condition is logged and an
error is returned. The logged message doesn't provide any information
about the sizes, making debugging more difficult. Improve it by logging
both the bytesused value and the length of each plane.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/main.h')
0 files changed, 0 insertions, 0 deletions