From b2b46e363008b85dad92a12558ec8d2574342a64 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 6 Oct 2002 13:49:38 +0200 Subject: Improved skipping channels that are (currently) not available (cont'd, fix, Transfer Mode blocked channels) --- device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3