V4L/DVB (10705): zoran: use slider flag with volume etc. controls.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Hans Verkuil 2009-02-18 13:23:24 -03:00 committed by Mauro Carvalho Chehab
parent b80696b700
commit 869826a1cb

View File

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