From 41320eca4d534aa803f0aeab1258965aa937752e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 26 Oct 2002 11:51:37 +0200 Subject: Fixed blocking replaying in case an encrypted channel is being recorded on the primary device --- dvbdevice.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dvbdevice.c') 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) { -- cgit v1.2.3