diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-08-16 13:24:23 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-08-16 13:24:23 +0200 |
commit | 2eec57fe184ded122ebd14240aa8564881649727 (patch) | |
tree | 80b92f04c298981bd767c3338031d96ecdc48fa7 /menu.c | |
parent | 2e9ef13f1cc354b2e9f2b982ca8524f14190af8b (diff) | |
download | vdr-2eec57fe184ded122ebd14240aa8564881649727.tar.gz vdr-2eec57fe184ded122ebd14240aa8564881649727.tar.bz2 |
Fixed freezing replay if a timer starts while in Transfer Mode
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.266 2003/08/16 10:17:49 kls Exp $ + * $Id: menu.c 1.267 2003/08/16 13:12:26 kls Exp $ */ #include "menu.h" @@ -3099,8 +3099,11 @@ bool cRecordControls::Start(cTimer *Timer, bool Pause) int Priority = Timer ? Timer->Priority() : Pause ? Setup.PausePriority : Setup.DefaultPriority; cDevice *device = cDevice::GetDevice(channel, Priority, &NeedsDetachReceivers); if (device) { - if (NeedsDetachReceivers) + if (NeedsDetachReceivers) { Stop(device); + if (device == cDevice::ActualDevice()) + cControl::Shutdown(); // in case this device was used for Transfer Mode + } if (!device->SwitchChannel(channel, false)) { cThread::EmergencyExit(true); return false; |