diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-11-14 10:40:07 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 05:51:23 -0500 |
commit | 5d9d171aaed2e0b1c5caac96efd4d4150eec97e1 (patch) | |
tree | 88e958ad98f658443f0aa87a627d95fb66442226 /drivers/media | |
parent | ced8fecaecba6aa6b092abeb0c9e51deeeac9247 (diff) |
V4L/DVB (4825): FIX bug 5760: audio were not working on some bttv drivers
This fixes a bug introduced by the -git commit:
bbf7871e1cd58b89f77b1152f457250c6e94b614
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 'drivers/media')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 6e1ddad9f0c1..3c8e4742dccc 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -1793,7 +1793,7 @@ static int bttv_common_ioctls(struct bttv *btv, unsigned int cmd, void *arg) | |||
1793 | memset(i,0,sizeof(*i)); | 1793 | memset(i,0,sizeof(*i)); |
1794 | i->index = n; | 1794 | i->index = n; |
1795 | i->type = V4L2_INPUT_TYPE_CAMERA; | 1795 | i->type = V4L2_INPUT_TYPE_CAMERA; |
1796 | i->audioset = 0; | 1796 | i->audioset = 1; |
1797 | if (i->index == bttv_tvcards[btv->c.type].tuner) { | 1797 | if (i->index == bttv_tvcards[btv->c.type].tuner) { |
1798 | sprintf(i->name, "Television"); | 1798 | sprintf(i->name, "Television"); |
1799 | i->type = V4L2_INPUT_TYPE_TUNER; | 1799 | i->type = V4L2_INPUT_TYPE_TUNER; |