commit | 1e55126666944c83bf98243564e25302f363e2a4 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Fri Aug 08 08:34:19 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Oct 12 09:36:48 2008 -0200 |
tree | dd86e6c7cb97d5fd49f739dffe42cf7666e7332b | |
parent | 69028d7096a6092812f0482833f0820593f1cafd [diff] |
V4L/DVB (8637): v4l2: add v4l2_ctrl_query_menu_valid_items support function v4l2_ctrl_query_menu_valid_items() makes it easy to handle control menus that have a lot of invalid 'holes'. For example, many MPEG encoders only support a limited subset of audio bitrates. In that case a driver can specify an array listing the set of valid bitrates and pass that to this function. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>