path: root/Documentation/DocBook/v4l/controls.xml
diff options
authorHans Verkuil <hverkuil@xs4all.nl>2010-09-11 11:38:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 01:05:56 -0200
commit6756207a71a0f976ab027186d0966a2162aaf922 (patch)
treeb86d48d98e27d25b313be6759aabde5c81a640c3 /Documentation/DocBook/v4l/controls.xml
parent0827d0664dfa046dc9359c1a45f613d916431ed7 (diff)
V4L/DVB: V4L Doc: correct the documentation for VIDIOC_QUERYMENU
The VIDIOC_QUERYMENU documentation was not correct. EINVAL can be returned if the driver does not support some of the menu items. I.e. in a list of MPEG bitrates a driver generally supports only a subset of these. This behavior has been in place for years, but was never properly documented. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/v4l/controls.xml')
1 files changed, 0 insertions, 3 deletions
diff --git a/Documentation/DocBook/v4l/controls.xml b/Documentation/DocBook/v4l/controls.xml
index 68c83449d7c..2fae3e87ce7 100644
--- a/Documentation/DocBook/v4l/controls.xml
+++ b/Documentation/DocBook/v4l/controls.xml
@@ -364,9 +364,6 @@ enumerate_menu (void)
querymenu.index++) {
if (0 == ioctl (fd, &VIDIOC-QUERYMENU;, &amp;querymenu)) {
printf (" %s\n", querymenu.name);
- } else {
- perror ("VIDIOC_QUERYMENU");
- exit (EXIT_FAILURE);