OSDN Git Service

[media] vivid: move video loopback control to the capture device
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 1 Jun 2015 10:15:53 +0000 (07:15 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 6 Jun 2015 10:33:17 +0000 (07:33 -0300)
commit63344b6592f1d69e13d0e32d8b213137ab6b663e
treeaa29b7423cf9b858acb77ca565e20ebd8e727f7b
parentcc1821964d122c39a80e653163513f11ccc39524
[media] vivid: move video loopback control to the capture device

This has been on my TODO list for some time now: the control that enables the video
loopback was part of the controls of the video output device instead of the video
capture device. In practice this was quite annoying since you expect it at the capture
side since that's where you want to make the decision whether to use the TPG or looped
video.

This patch moves the control from the output to the capture side.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/video4linux/vivid.txt
drivers/media/platform/vivid/vivid-core.h
drivers/media/platform/vivid/vivid-ctrls.c