forked from Minki/linux
V4L/DVB (12214): bttv: set RDS capability if applicable.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
ef5b5b7e73
commit
6a052c8434
@ -2652,6 +2652,8 @@ static int bttv_querycap(struct file *file, void *priv,
|
||||
V4L2_CAP_VBI_CAPTURE |
|
||||
V4L2_CAP_READWRITE |
|
||||
V4L2_CAP_STREAMING;
|
||||
if (btv->has_saa6588)
|
||||
cap->capabilities |= V4L2_CAP_RDS_CAPTURE;
|
||||
if (no_overlay <= 0)
|
||||
cap->capabilities |= V4L2_CAP_VIDEO_OVERLAY;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user