From a5ebcea8c0080bea478514c6fa6dd83c28adb986 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Sat, 13 Jul 2019 16:51:19 +0200 Subject: libcamera: qcam: Allow specifying sizes on command line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a '-s|--size' option to qcam to allow selecting the stream resolution using a command line option. If the sizes are not supported by the camera, they get automatically adjusted and the user notified via an output message. Signed-off-by: Jacopo Mondi Reviewed-by: Niklas Söderlund --- src/qcam/main_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qcam/main_window.h') diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index f58cb6a6..b45cbca7 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -27,6 +27,7 @@ class ViewFinder; enum { OptCamera = 'c', OptHelp = 'h', + OptSize = 's', }; class MainWindow : public QMainWindow -- cgit v1.2.1