diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-16 17:52:50 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-25 21:57:53 +0300 |
commit | c671cbe622469185311fafce4b32b6b995a04445 (patch) | |
tree | b0035607b2a1d47a3b00d8cd8e3165453bab8e6c /utils/raspberrypi | |
parent | 3bd19855459f6b58360197bc67c545a698812899 (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 'utils/raspberrypi')
0 files changed, 0 insertions, 0 deletions