summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-11-14 13:40:07 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-11-14 13:40:07 -0200
commitf94c97c9fc27ae2ceac780426712f021eb464504 (patch)
tree2860943c2992ad013d4fd9a153893693a2ee38bd /linux/drivers/media/video
parentbf3522e525538831cbef13561f7e0c851d27df16 (diff)
downloadmediapointer-dvb-s2-f94c97c9fc27ae2ceac780426712f021eb464504.tar.gz
mediapointer-dvb-s2-f94c97c9fc27ae2ceac780426712f021eb464504.tar.bz2
FIX bug 5760: audio were not working on some bttv drivers
From: Mauro Carvalho Chehab <mchehab@infradead.org> CC: Christian Casteyde <casteyde.christian@free.fr> This fixes a bug introduced by the changeset bellow: http://linuxtv.org/hg/v4l-dvb?cs=f8b432b28d7f;style=gitweb It seems that some bttv apps can't work fine when audioset=0. Thanks to Christian Casteyde <casteyde.christian@free.fr> for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 88f7f65f4..c07725e7f 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -1818,7 +1818,7 @@ static int bttv_common_ioctls(struct bttv *btv, unsigned int cmd, void *arg)
memset(i,0,sizeof(*i));
i->index = n;
i->type = V4L2_INPUT_TYPE_CAMERA;
- i->audioset = 0;
+ i->audioset = 1;
if (i->index == bttv_tvcards[btv->c.type].tuner) {
sprintf(i->name, "Television");
i->type = V4L2_INPUT_TYPE_TUNER;