aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callbacks.c')
-rw-r--r--src/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 732b79c..cd72a19 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -766,7 +766,7 @@ void zoom_change(GtkScale *sc1, cam_t *cam)
{
cam->zoom = 256 * (int)gtk_range_get_value((GtkRange *) sc1);
- v4l2_set_control(cam->dev, V4L2_CID_ZOOM_ABSOLUTE, cam->zoom);
+ v4l2_set_control(cam->dev, cam->zoom_cid, cam->zoom);
}
void colour_change(GtkScale *sc1, cam_t *cam)

Privacy Policy