aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4l.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-19 14:26:01 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-21 06:34:58 -0300
commitf85679e6c08c5ed1c8bee595bb15805d1e9ec081 (patch)
tree6cfeee80ab0756013e06a18765c21ef6f791a852 /src/v4l.h
parent6087e0f3b3b2cfd57bf5eb173eaa0d4dd34ba9a4 (diff)
Add a dialog to optionally select the video device
The first time camorama is started, or if it doesn't find the previously used camera, it will now open a dialog allowing the user to choose the camera. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/v4l.h')
-rw-r--r--src/v4l.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4l.h b/src/v4l.h
index 2fc706e..69df548 100644
--- a/src/v4l.h
+++ b/src/v4l.h
@@ -102,7 +102,7 @@ typedef struct camera {
} *buffers;
} cam_t;
-void camera_cap(cam_t *);
+int camera_cap(cam_t *);
void print_cam(cam_t *);
void try_set_win_info(cam_t *cam, unsigned int *x, unsigned int *y);
void set_win_info(cam_t *cam);

Privacy Policy