summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-09-15 11:08:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-09-15 11:08:35 +0200
commitec8748a2ccb402b5cde5cb98b4bafd6bb341c370 (patch)
tree8cdb146b26cfa8e107191e974b359e3684bb4a23 /vdr.c
parent6ef11b70be58246c9f77fe3e319a4d9bb8dbb83f (diff)
downloadvdr-ec8748a2ccb402b5cde5cb98b4bafd6bb341c370.tar.gz
vdr-ec8748a2ccb402b5cde5cb98b4bafd6bb341c370.tar.bz2
A previous 'Transfer Mode' is now automatically re-started after a replay stops
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 355a5158..1f38af41 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.122 2002/09/08 11:19:01 kls Exp $
+ * $Id: vdr.c 1.123 2002/09/15 11:08:35 kls Exp $
*/
#include <getopt.h>
@@ -400,6 +400,9 @@ int main(int argc, char *argv[])
}
// Attach launched player control:
cControl::Attach();
+ // Make sure Transfer-Mode is re-started after detaching a player:
+ if (cDevice::PrimaryDevice()->PlayerDetached() && !cDevice::PrimaryDevice()->Replaying())
+ Channels.SwitchTo(cDevice::CurrentChannel());
// Restart the Watchdog timer:
if (WatchdogTimeout > 0) {
int LatencyTime = WatchdogTimeout - alarm(WatchdogTimeout);