summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-10 07:48:16 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-08-10 07:48:16 +0000
commit981223e70ff82e9b3868c6eb8964536149ad3f24 (patch)
treec287ed6c8bd38d3dc1bf3934383f639cf60906da
parent002b57013de6ad9e597eb9912dd16658b548d9f4 (diff)
downloadmediapointer-dvb-s2-981223e70ff82e9b3868c6eb8964536149ad3f24.tar.gz
mediapointer-dvb-s2-981223e70ff82e9b3868c6eb8964536149ad3f24.tar.bz2
Fix control AC-3 of the 6752HS
From: Dmitri Belimov <d.belimov@gmail.com> Fix error for AC-3 control of the 6752HS MPEG-2 coder. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/media/video/saa7134/saa6752hs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa6752hs.c b/linux/drivers/media/video/saa7134/saa6752hs.c
index 860f271dd..32ecebe8c 100644
--- a/linux/drivers/media/video/saa7134/saa6752hs.c
+++ b/linux/drivers/media/video/saa7134/saa6752hs.c
@@ -475,7 +475,7 @@ static int handle_ctrl(int has_ac3, struct saa6752hs_mpeg_params *params,
if (set && new != V4L2_MPEG_AUDIO_ENCODING_LAYER_2 &&
(!has_ac3 || new != V4L2_MPEG_AUDIO_ENCODING_AC3))
return -ERANGE;
- new = old;
+ params->au_encoding = new;
break;
case V4L2_CID_MPEG_AUDIO_L2_BITRATE:
old = params->au_l2_bitrate;