1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed handling of pmAudioOnlyBlack

This commit is contained in:
Klaus Schmidinger 2004-11-06 13:17:35 +01:00
parent c3e52f8da9
commit f8475a1d20
3 changed files with 4 additions and 3 deletions

View File

@ -187,6 +187,7 @@ Stefan Huelswitt <huels@iname.com>
available to plugins, and to add a SetText() function available to plugins, and to add a SetText() function
for reporting a bug in setting the title in the replay display of the "Classic VDR" for reporting a bug in setting the title in the replay display of the "Classic VDR"
skin in case a shorter title is set after a longer one skin in case a shorter title is set after a longer one
for fixing handling of pmAudioOnlyBlack
Ulrich Röder <roeder@efr-net.de> Ulrich Röder <roeder@efr-net.de>
for pointing out that there are channels that have a symbol rate higher than for pointing out that there are channels that have a symbol rate higher than

View File

@ -3127,3 +3127,4 @@ Video Disk Recorder Revision History
- Added missing calls to cStatus::MsgOsdClear() in cSkins::Message() (thanks - Added missing calls to cStatus::MsgOsdClear() in cSkins::Message() (thanks
to Joachim Wilke for reporting this one). to Joachim Wilke for reporting this one).
- Fixed the cDvbSpuDecoder (thanks to Marco Schlüßler). - Fixed the cDvbSpuDecoder (thanks to Marco Schlüßler).
- Fixed handling of pmAudioOnlyBlack (thanks to Stefan Huelswitt).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "dvbdevice.h"
@ -897,10 +897,9 @@ bool cDvbDevice::SetPlayMode(ePlayMode PlayMode)
CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, false)); CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, false));
break; break;
case pmAudioVideo: case pmAudioVideo:
case pmAudioOnlyBlack:
if (playMode == pmNone) if (playMode == pmNone)
TurnOffLiveMode(); TurnOffLiveMode();
// continue with next...
case pmAudioOnlyBlack:
CHECK(ioctl(fd_video, VIDEO_SET_BLANK, true)); CHECK(ioctl(fd_video, VIDEO_SET_BLANK, true));
CHECK(ioctl(fd_audio, AUDIO_SELECT_SOURCE, AUDIO_SOURCE_MEMORY)); CHECK(ioctl(fd_audio, AUDIO_SELECT_SOURCE, AUDIO_SOURCE_MEMORY));
CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, PlayMode == pmAudioVideo)); CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, PlayMode == pmAudioVideo));