提交 6a0bc9a0 编写于 作者: M Michael Krufky 提交者: Mauro Carvalho Chehab

V4L/DVB (6832): cx88-blackbird: don't mute audio when stopping the codec

We should not mute the audio input when we stop the codec,
because it will interfere with the live uncompressed stream.
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Reviewed-by: NJelle Foks <jelle@foks.8m.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 7b27d45b
......@@ -627,15 +627,11 @@ static int blackbird_start_codec(struct file *file, void *priv)
static int blackbird_stop_codec(struct cx8802_dev *dev)
{
struct cx88_core *core = dev->core;
blackbird_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE, 3, 0,
BLACKBIRD_END_NOW,
BLACKBIRD_MPEG_CAPTURE,
BLACKBIRD_RAW_BITS_NONE
);
/* mute audio source */
cx_set(AUD_VOL_CTL, (1 << 6));
dev->mpeg_active = 0;
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册