]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vivid: report only one frameinterval
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 13 Mar 2015 16:22:07 +0000 (13:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:10:11 +0000 (21:10 -0300)
commitb1a5baa16ffbb457d0a1ad9469f04892d82ac072
treec52adf6870288f03dc1182b16996dffe17048aa0
parentd4d372a8aaa89e305ec407998bb9b5b57fda4b28
[media] vivid: report only one frameinterval

The vivid driver reports a range of frame intervals for non-webcams, when in fact
the frame interval is fixed for those inputs as it depends on the DV timings or
standard. Just report the single discrete frame interval instead.

Caught by v4l2-compliance.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-vid-cap.c