Fix control AC-3 of the 6752HS
PATCH 1/1 Fix control AC-3 of the 6752HS
Hi All
Fix error for AC-3 control of the 6752HS MPEG-2 coder.
linux/drivers/media/video/saa7134/saa6752hs.c +1 -1
@@ -475,7 +475,7 @@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;
Signed-off-by Beholder Intl. Ltd. Dmitry Belimov <[email protected]>
With my best regards, Dmitry.
linux/drivers/media/video/saa7134/saa6752hs.c +1 -1
@@ -475,7 +475,7 @@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;
Signed-off-by Beholder Intl. Ltd. Dmitry Belimov <[email protected]>