summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-06-20 11:09:33 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-06-20 11:09:33 +0200
commit4481521273b6eb72974a3ce99b8eb642a4b39e13 (patch)
tree0a9be8a6a6f53538ddb40c6d939b7c90ddc3aa99 /linux
parent84e800a7ca6664a01b8b294b4acd673019c0a2a9 (diff)
downloadmediapointer-dvb-s2-4481521273b6eb72974a3ce99b8eb642a4b39e13.tar.gz
mediapointer-dvb-s2-4481521273b6eb72974a3ce99b8eb642a4b39e13.tar.bz2
bttv: set RDS capability if applicable.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 27be1694b..4bb66f246 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -2679,6 +2679,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;