diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-13 19:42:45 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-13 19:42:45 -0400 |
commit | 7bbfb93108980416344e1851b2d045336540c529 (patch) | |
tree | 989dbc9e932faf91f435a25df1c35f9630a45e6c /linux/drivers/media | |
parent | d3fa07b4cb52978d356672273b63a4e4674753fa (diff) | |
download | mediapointer-dvb-s2-7bbfb93108980416344e1851b2d045336540c529.tar.gz mediapointer-dvb-s2-7bbfb93108980416344e1851b2d045336540c529.tar.bz2 |
cx88-blackbird: don't mute audio when stopping the codec
From: Michael Krufky <mkrufky@linuxtv.org>
We should not mute the audio input when we stop the codec,
because it will interfere with the live uncompressed stream.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Reviewed-by: Jelle Foks <jelle@foks.8m.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-blackbird.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c index 3cb76e235..d16a3cd72 100644 --- a/linux/drivers/media/video/cx88/cx88-blackbird.c +++ b/linux/drivers/media/video/cx88/cx88-blackbird.c @@ -637,15 +637,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; |