diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-06 13:49:38 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-06 13:49:38 +0200 |
commit | b2b46e363008b85dad92a12558ec8d2574342a64 (patch) | |
tree | ec7b629c01ceb711e8fe8a3352e66f46de5f4121 | |
parent | f78f51431da4f55e23c47a95284e26858cc946a2 (diff) | |
download | vdr-b2b46e363008b85dad92a12558ec8d2574342a64.tar.gz vdr-b2b46e363008b85dad92a12558ec8d2574342a64.tar.bz2 |
Improved skipping channels that are (currently) not available (cont'd, fix, Transfer Mode blocked channels)
-rw-r--r-- | device.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.24 2002/10/06 11:31:52 kls Exp $ + * $Id: device.c 1.25 2002/10/06 13:49:38 kls Exp $ */ #include "device.h" @@ -313,6 +313,7 @@ bool cDevice::SwitchChannel(int Direction) if (Direction) { int n = CurrentChannel() + Direction; int first = n; + PrimaryDevice()->StopReplay(); // otherwise a running Transfer Mode would block channels cChannel *channel; while ((channel = Channels.GetByNumber(n)) != NULL) { // try only channels which are currently available |