34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From e041e57cafca24cf92430cdf3cc091060a271e19 Mon Sep 17 00:00:00 2001
|
|
From: Sakari Ailus <sakari.ailus@nokia.com>
|
|
Date: Fri, 31 Oct 2008 10:20:31 +0200
|
|
Subject: [PATCH] V4L: int device: add support for VIDIOC_QUERYMENU
|
|
|
|
Signed-off-by: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
|
|
---
|
|
include/media/v4l2-int-device.h | 2 ++
|
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
|
|
index 5d254c4..81f4863 100644
|
|
--- a/include/media/v4l2-int-device.h
|
|
+++ b/include/media/v4l2-int-device.h
|
|
@@ -178,6 +178,7 @@ enum v4l2_int_ioctl_num {
|
|
vidioc_int_s_fmt_cap_num,
|
|
vidioc_int_try_fmt_cap_num,
|
|
vidioc_int_queryctrl_num,
|
|
+ vidioc_int_querymenu_num,
|
|
vidioc_int_g_ctrl_num,
|
|
vidioc_int_s_ctrl_num,
|
|
vidioc_int_cropcap_num,
|
|
@@ -282,6 +283,7 @@ V4L2_INT_WRAPPER_1(g_fmt_cap, struct v4l2_format, *);
|
|
V4L2_INT_WRAPPER_1(s_fmt_cap, struct v4l2_format, *);
|
|
V4L2_INT_WRAPPER_1(try_fmt_cap, struct v4l2_format, *);
|
|
V4L2_INT_WRAPPER_1(queryctrl, struct v4l2_queryctrl, *);
|
|
+V4L2_INT_WRAPPER_1(querymenu, struct v4l2_querymenu, *);
|
|
V4L2_INT_WRAPPER_1(g_ctrl, struct v4l2_control, *);
|
|
V4L2_INT_WRAPPER_1(s_ctrl, struct v4l2_control, *);
|
|
V4L2_INT_WRAPPER_1(cropcap, struct v4l2_cropcap, *);
|
|
--
|
|
1.5.6.5
|
|
|