aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4l.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-23 07:06:49 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-23 14:57:52 -0300
commit3b12891e61bd88580c7c30a4dd1774a024253dcd (patch)
tree7a6a753b8d54f94a9ea9631074a194613a3dc9e6 /src/v4l.h
parent8a7bdf9d3b48ca50186864faae9e56928594286d (diff)
Hide V4L2 controls if not present at the camera
Not all controls are available on all cameras. Be sure to show only the ones that apply to the camera used. While here, fix the callback logic for whitebalance
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 ca2739c..1c07641 100644
--- a/src/v4l.h
+++ b/src/v4l.h
@@ -47,7 +47,7 @@ typedef struct camera {
int desk_depth;
CamoImageSize size;
char name[32];
- int contrast, brightness, whiteness, colour, hue, wb, bytesperline;
+ int contrast, brightness, whiteness, colour, hue, bytesperline;
unsigned int pixformat;
int frame_number;

Privacy Policy