diff options
| author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-26 11:51:37 +0200 | 
|---|---|---|
| committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-26 11:51:37 +0200 | 
| commit | 41320eca4d534aa803f0aeab1258965aa937752e (patch) | |
| tree | 29e68ea874557f87d217f42a1c8558d65cb9de76 /dvbdevice.c | |
| parent | ffb615332619822f891c8c378e4ceeb6d58529bc (diff) | |
| download | vdr-41320eca4d534aa803f0aeab1258965aa937752e.tar.gz vdr-41320eca4d534aa803f0aeab1258965aa937752e.tar.bz2 | |
Fixed blocking replaying in case an encrypted channel is being recorded on the primary device
Diffstat (limited to 'dvbdevice.c')
| -rw-r--r-- | dvbdevice.c | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/dvbdevice.c b/dvbdevice.c index cbd20e5a..a1a8913d 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.29 2002/10/26 11:11:42 kls Exp $ + * $Id: dvbdevice.c 1.30 2002/10/26 11:37:03 kls Exp $   */  #include "dvbdevice.h" @@ -802,6 +802,11 @@ void cDvbDevice::SetAudioTrackDevice(int Index)       }  } +bool cDvbDevice::CanReplay(void) const +{ +  return cDevice::CanReplay() && !Ca(); // we can only replay if there is no Ca recording going on +} +  bool cDvbDevice::SetPlayMode(ePlayMode PlayMode)  {    if (PlayMode != pmExtern_THIS_SHOULD_BE_AVOIDED && fd_video < 0 && fd_audio < 0) { | 
