summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-06 11:31:33 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-06 11:31:33 +0200
commitf882ddf588f29f1154ac97fea7ba997ee718cb05 (patch)
tree10bc50112026715c319c4f71cfdce899e12a6667 /dvbdevice.c
parentd42c22382640040442b2298af782cef8107d848a (diff)
downloadvdr-f882ddf588f29f1154ac97fea7ba997ee718cb05.tar.gz
vdr-f882ddf588f29f1154ac97fea7ba997ee718cb05.tar.bz2
Fixed missing audio after replaying a DVD
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 58ae55a5..e5b777dc 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.88 2004/06/05 16:33:35 kls Exp $
+ * $Id: dvbdevice.c 1.89 2004/06/06 11:28:28 kls Exp $
*/
#include "dvbdevice.h"
@@ -767,6 +767,8 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
if (IsPrimaryDevice())
AddPid(Channel->Tpid(), ptTeletext);
CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, true));
+ CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, false));
+ CHECK(ioctl(fd_video, VIDEO_SET_BLANK, false));
}
else if (StartTransferMode)
cControl::Launch(new cTransferControl(this, Channel->Vpid(), Channel->Apid1(), Channel->Apid2(), Channel->Dpid1(), Channel->Dpid2()));