diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-11-06 13:17:35 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-11-06 13:17:35 +0100 |
commit | f8475a1d20ee4dade8b3f7590abfa794dae7741e (patch) | |
tree | c507bb8c60f9a2f0184d26a8f2ff285ddd91b1e1 /dvbdevice.c | |
parent | c3e52f8da96991bb43c2d18cefd5fe9c6db7de87 (diff) | |
download | vdr-f8475a1d20ee4dade8b3f7590abfa794dae7741e.tar.gz vdr-f8475a1d20ee4dade8b3f7590abfa794dae7741e.tar.bz2 |
Fixed handling of pmAudioOnlyBlack
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index fb87ae4b..c2b60011 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.102 2004/10/30 14:53:30 kls Exp $ + * $Id: dvbdevice.c 1.103 2004/11/06 13:16:25 kls Exp $ */ #include "dvbdevice.h" @@ -897,10 +897,9 @@ bool cDvbDevice::SetPlayMode(ePlayMode PlayMode) CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, false)); break; case pmAudioVideo: + case pmAudioOnlyBlack: if (playMode == pmNone) TurnOffLiveMode(); - // continue with next... - case pmAudioOnlyBlack: CHECK(ioctl(fd_video, VIDEO_SET_BLANK, true)); CHECK(ioctl(fd_audio, AUDIO_SELECT_SOURCE, AUDIO_SOURCE_MEMORY)); CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, PlayMode == pmAudioVideo)); |