diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2008-12-16 10:44:11 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@skynet.be> | 2008-12-16 10:44:11 +0100 |
commit | 7981a739191a95dbcf8fd3aedc2c6a897f1cd3a1 (patch) | |
tree | 49d5ba06add4a9930ef68654143cb96ac234bb8a /linux/drivers/media/video/uvc/uvc_ctrl.c | |
parent | 4c8a6b3ba0d22598879b1546c088cb8a3eb895a0 (diff) | |
download | mediapointer-dvb-s2-7981a739191a95dbcf8fd3aedc2c6a897f1cd3a1.tar.gz mediapointer-dvb-s2-7981a739191a95dbcf8fd3aedc2c6a897f1cd3a1.tar.bz2 |
uvcvideo: V4L2 privacy control support
From: Laurent Pinchart <laurent.pinchart@skynet.be>
Priority: normal
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvc_ctrl.c')
-rw-r--r-- | linux/drivers/media/video/uvc/uvc_ctrl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/video/uvc/uvc_ctrl.c b/linux/drivers/media/video/uvc/uvc_ctrl.c index 01c72935d..92b16c3d5 100644 --- a/linux/drivers/media/video/uvc/uvc_ctrl.c +++ b/linux/drivers/media/video/uvc/uvc_ctrl.c @@ -534,6 +534,16 @@ static struct uvc_control_mapping uvc_ctrl_mappings[] = { .v4l2_type = V4L2_CTRL_TYPE_BOOLEAN, .data_type = UVC_CTRL_DATA_TYPE_BOOLEAN, }, + { + .id = V4L2_CID_PRIVACY, + .name = "Privacy", + .entity = UVC_GUID_UVC_CAMERA, + .selector = CT_PRIVACY_CONTROL, + .size = 1, + .offset = 0, + .v4l2_type = V4L2_CTRL_TYPE_BOOLEAN, + .data_type = UVC_CTRL_DATA_TYPE_BOOLEAN, + }, }; /* ------------------------------------------------------------------------ |