path: root/src/v4l.h
diff options
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-23 14:50:57 -0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-23 15:05:26 -0200
commitfd0012dc863fa13b7c4e23cbf90f92051aca8cf7 (patch)
tree4e64b246396a2f9fe38ba4412837a9d97275a535 /src/v4l.h
parent4ee19584c0cf1048d5cc813ec82f9be249411d3f (diff)
v4l: make zoom logic more complete
There are 3 types of zoom controls on V4L2 API. Instead of assuming just one type, autodetect between all 3 types of control. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/v4l.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4l.h b/src/v4l.h
index 323f3db..4aaf976 100644
--- a/src/v4l.h
+++ b/src/v4l.h
@@ -55,7 +55,7 @@ typedef struct camera {
float scale;
CamoImageSize size;
char name[32];
- int contrast, brightness, whiteness, colour, hue, zoom, bytesperline;
+ int contrast, brightness, whiteness, colour, hue, zoom, zoom_cid, bytesperline;
unsigned int pixformat;
int frame_number;

Privacy Policy