From c77989ee70085be02dca4dc1be362801baa15ff3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 17 Dec 2004 14:55:49 +0100 Subject: Added support for AC3 replay over the DVB device --- vdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index c82f2b44..664cc7d3 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.193 2004/11/06 10:30:30 kls Exp $ + * $Id: vdr.c 1.194 2004/12/05 13:20:29 kls Exp $ */ #include @@ -532,7 +532,7 @@ int main(int argc, char *argv[]) static time_t lastTime = 0; if (time(NULL) - lastTime > MINCHANNELWAIT) { cChannel *Channel = Channels.GetByNumber(cDevice::CurrentChannel()); - if (Channel && (Channel->Vpid() || Channel->Apid1())) { + if (Channel && (Channel->Vpid() || Channel->Apid(0))) { if (!Channels.SwitchTo(cDevice::CurrentChannel()) // try to switch to the original channel... && !(LastTimerChannel > 0 && Channels.SwitchTo(LastTimerChannel)) // ...or the one used by the last timer... && !cDevice::SwitchChannel(1) // ...or the next higher available one... -- cgit v1.2.3