]> 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)
commit19afc2ed6bed85d77d034e4b5b675084a91afcb6
treec52adf6870288f03dc1182b16996dffe17048aa0
parentdf767b716c6df305c9ccdb65e44a99ea5cf27a7f
[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