diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-08-24 14:47:34 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-08-24 14:47:34 +0200 |
commit | 056c902c21a6fd9140decc0b47388a137f3230b6 (patch) | |
tree | ce4c6d94e9a0e4838e64d762d1c9c155f6a22a55 /menu.c | |
parent | 7c2283b50245ee23bbe2e641d1044cf340e79715 (diff) | |
download | vdr-056c902c21a6fd9140decc0b47388a137f3230b6.tar.gz vdr-056c902c21a6fd9140decc0b47388a137f3230b6.tar.bz2 |
Fixed starting a recording on the primary device if there is a replay session active
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 3 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.268 2003/08/17 08:52:07 kls Exp $ + * $Id: menu.c 1.269 2003/08/24 14:28:44 kls Exp $ */ #include "menu.h" @@ -25,6 +25,7 @@ #include "sources.h" #include "status.h" #include "timers.h" +#include "transfer.h" #include "videodir.h" #define MENUTIMEOUT 120 // seconds @@ -3102,7 +3103,7 @@ bool cRecordControls::Start(cTimer *Timer, bool Pause) if (device) { if (NeedsDetachReceivers) { Stop(device); - if (device == cDevice::ActualDevice()) + if (device == cTransferControl::ReceiverDevice()) cControl::Shutdown(); // in case this device was used for Transfer Mode } if (!device->SwitchChannel(channel, false)) { |