]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (10705): zoran: use slider flag with volume etc. controls.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Feb 2009 16:23:24 +0000 (13:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:55 +0000 (12:42 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_driver.c

index 1f8d3a8b0cbad217d0026df753f24234a4d204b4..c7806ac448b20a54b7ffdcf122c3185477ca736a 100644 (file)
@@ -3260,6 +3260,7 @@ static int zoran_queryctrl(struct file *file, void *__fh,
        ctrl->step = 1;
        ctrl->default_value = 32768;
        ctrl->type = V4L2_CTRL_TYPE_INTEGER;
+       ctrl->flags = V4L2_CTRL_FLAG_SLIDER;
 
        return 0;
 }