mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
V4L/DVB (4825): FIX bug 5760: audio were not working on some bttv drivers
This fixes a bug introduced by the -git commit:
bbf7871e1c
It seems that some bttv apps can't work fine when audioset=0.
Thanks to Christian Casteyde <[email protected]> for pointing this.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
ced8fecaec
commit
5d9d171aae
1 changed files with 1 additions and 1 deletions
|
|
@ -1793,7 +1793,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue