OSDN Git Service

[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)
commit29813a6f34042da13d201694964d9dea3d4658ef
treec52adf6870288f03dc1182b16996dffe17048aa0
parent1bd0835a27a8651c0a2a06415a64fdab161cbeba
[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