summaryrefslogtreecommitdiff
path: root/src/cam/main.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-17 23:58:31 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-05 16:23:11 +0300
commit2288550f7d9cb260021de436bb8ff8c0e8ea86be (patch)
treeaa38954356f5a8cf88fc52988580019f314d414e /src/cam/main.h
parent063c9969f502d133428639adbee9b864f22e2d6f (diff)
cam: Add support for viewfinder through DRM/KMS
Use the KMSSink class to display the viewfinder stream, if any, through DRM/KMS. The output connector is selected through the new -D/--display argument. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/main.h')
-rw-r--r--src/cam/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cam/main.h b/src/cam/main.h
index d22451f5..1c2fab76 100644
--- a/src/cam/main.h
+++ b/src/cam/main.h
@@ -10,6 +10,7 @@
enum {
OptCamera = 'c',
OptCapture = 'C',
+ OptDisplay = 'D',
OptFile = 'F',
OptHelp = 'h',
OptInfo = 'I',