summaryrefslogtreecommitdiff
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
parentd42c22382640040442b2298af782cef8107d848a (diff)
downloadvdr-f882ddf588f29f1154ac97fea7ba997ee718cb05.tar.gz
vdr-f882ddf588f29f1154ac97fea7ba997ee718cb05.tar.bz2
Fixed missing audio after replaying a DVD
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--dvbdevice.c4
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index e649d34d..4c2889b0 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1016,6 +1016,7 @@ Wayne Keer <syphir@syphir.sytes.net>
Marco Schlüßler <marco@lordzodiac.de>
for fixing handling colors in cDvbSpuPalette::yuv2rgb()
for fixing setting lnb voltage if the frontend is not DVB-S
+ for fixing missing audio after replaying a DVD
Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP
diff --git a/HISTORY b/HISTORY
index e103c71b..d6ed24df 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2885,3 +2885,4 @@ Video Disk Recorder Revision History
Schlüßler).
- Fixed displaying the current channel when switching via the SVDRP command CHAN
(thanks to Jürgen Schmitz for reporting this one).
+- Fixed missing audio after replaying a DVD (thanks to Marco Schlüßler).
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()));