summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-06 13:49:38 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-06 13:49:38 +0200
commitb2b46e363008b85dad92a12558ec8d2574342a64 (patch)
treeec7b629c01ceb711e8fe8a3352e66f46de5f4121 /device.c
parentf78f51431da4f55e23c47a95284e26858cc946a2 (diff)
downloadvdr-b2b46e363008b85dad92a12558ec8d2574342a64.tar.gz
vdr-b2b46e363008b85dad92a12558ec8d2574342a64.tar.bz2
Improved skipping channels that are (currently) not available (cont'd, fix, Transfer Mode blocked channels)
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.c b/device.c
index a7de7fc7..473b178e 100644
--- a/device.c
+++ b/device.c
@@ -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