diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-09-21 11:14:16 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-01 13:30:25 +0200 |
commit | 35204e2e84f2dae72012f8ca319659c12f428430 (patch) | |
tree | 0c5187fb9613addffda6d3c539537583769ffea0 /Documentation/DocBook | |
parent | [media] use v4l2_get_timestamp where possible (diff) | |
download | linux-35204e2e84f2dae72012f8ca319659c12f428430.tar.xz linux-35204e2e84f2dae72012f8ca319659c12f428430.zip |
[media] v4l2-ctrls: arrays are also considered compound controls
Array controls weren't skipped when only V4L2_CTRL_FLAG_NEXT_CTRL was
provided (so no V4L2_CTRL_FLAG_NEXT_COMPOUND was set). This is wrong
since arrays are also considered compound controls (i.e. with more than
one value), and applications that do not know about arrays will not
be able to handle such controls.
Fix the test to include arrays.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: <stable@vger.kernel.org> # for v3.17 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/DocBook')
0 files changed, 0 insertions, 0 deletions