summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_file.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2024-06-20 16:49:19 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-07-08 17:52:31 +0100
commit644986c2b77eef28150f6ea2083f9b828c509d26 (patch)
treef55828e592741280d70294dada383bd2c082510e /src/v4l2/v4l2_camera_file.cpp
parentd890a7e48e0813a28193f06d44167e17b0b02d15 (diff)
qcam: viewfinder_qt: Maintain aspect ratio
Keep the image aspect ratio when displaying in the viewfinder. When the window is adjusted to a size that differs in aspect ratio to the image, keep the image centered in the main window. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera_file.cpp')
0 files changed, 0 insertions, 0 deletions