aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-21 12:50:46 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-21 12:50:46 (GMT)
commit115a30ce7f2508c764a3fb13cf67b1f0fb5946d0 (patch)
treee64c13a63340f6eabe71cd8484d5cb09e077e005 /src/callbacks.h
parentc17f7baf89a3ef65c4eb866adc1df65729ac548b (diff)
Add an item to allow switching cameras in realtime
When camorama detects multiple cameras, it should now be possible to swich between them in real time without stopping it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/callbacks.h')
-rw-r--r--src/callbacks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callbacks.h b/src/callbacks.h
index 1ea424f..273743c 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -73,6 +73,8 @@ gboolean on_drawingarea_expose_event(GtkWidget *, GdkEventExpose *,
void set_image_scale(cam_t *cam);
void retrieve_video_dev(cam_t *cam);
int select_video_dev(cam_t *cam);
+void on_change_camera(GtkWidget *widget, cam_t *cam);
+void start_camera(cam_t *cam);
G_END_DECLS

Privacy Policy