diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-20 11:09:33 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 17:17:29 +0200 |
commit | 6a052c84342dd047226ecad0e1aa4e4b37d45a6c (patch) | |
tree | d669dccc4e7bcf742a24988722177ff06551ea17 | |
parent | V4L/DVB (12212): v4l2: add RDS API to videodev2.h (diff) | |
download | linux-6a052c84342dd047226ecad0e1aa4e4b37d45a6c.tar.xz linux-6a052c84342dd047226ecad0e1aa4e4b37d45a6c.zip |
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>
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index a5959538d116..939d1e512974 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c @@ -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; |