diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-26 10:24:42 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-26 10:24:42 +0200 |
commit | 4247bf58cf0c2359a240a00e2af5e92aea4e70cc (patch) | |
tree | 764a3d9c062e8a4fd0627245d7cefdb7693d9bf2 | |
parent | a51f4e83f0f03d06d52275af719635da92740103 (diff) | |
download | vdr-4247bf58cf0c2359a240a00e2af5e92aea4e70cc.tar.gz vdr-4247bf58cf0c2359a240a00e2af5e92aea4e70cc.tar.bz2 |
Fixed channel switching in case of an active 'Transfer Mode' on the primary device
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | device.c | 3 | ||||
-rw-r--r-- | transfer.c | 4 |
3 files changed, 5 insertions, 4 deletions
@@ -1637,3 +1637,5 @@ Video Disk Recorder Revision History - Fixed switching audio tracks in 'Transfer Mode' on the primary DVB device (thanks to Steffen Barszus and Stefan Huelswitt for reporting this one and helping to fix it). +- Fixed channel switching in case of an active 'Transfer Mode' on the primary + device ('Transfer Mode' is now launched with priority '-1'). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.30 2002/10/26 09:43:11 kls Exp $ + * $Id: device.c 1.31 2002/10/26 10:23:20 kls Exp $ */ #include "device.h" @@ -321,7 +321,6 @@ 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, Direction)) != NULL) { // try only channels which are currently available @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: transfer.c 1.5 2002/10/13 16:08:44 kls Exp $ + * $Id: transfer.c 1.6 2002/10/26 10:17:17 kls Exp $ */ #include "transfer.h" @@ -17,7 +17,7 @@ // --- cTransfer ------------------------------------------------------------- cTransfer::cTransfer(int VPid, int APid1, int APid2, int DPid1, int DPid2) -:cReceiver(0, 0, 5, VPid, APid1, APid2, DPid1, DPid2) +:cReceiver(0, -1, 5, VPid, APid1, APid2, DPid1, DPid2) { ringBuffer = new cRingBufferLinear(VIDEOBUFSIZE, true); remux = new cRemux(VPid, APid1, APid2, DPid1, DPid2); |