summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_file.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-16 17:52:50 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-25 21:57:53 +0300
commitc671cbe622469185311fafce4b32b6b995a04445 (patch)
treeb0035607b2a1d47a3b00d8cd8e3165453bab8e6c /src/v4l2/v4l2_camera_file.h
parent3bd19855459f6b58360197bc67c545a698812899 (diff)
cam: Limit file write to payload size
The payload size in a captured framebuffer is usually equal to the buffer size. However, for compressed formats, the payload may be smaller Only write the payload when capturing to a file. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera_file.h')
0 files changed, 0 insertions, 0 deletions