summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-01-20 09:51:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-01-20 09:51:51 +0100
commit2a2919d053b392b04e6d8122114bd34cf2a1b22e (patch)
tree14c4bc4f7a9be1af76de20c04f20f99808739d7f /dvbapi.c
parente51a17687555fe416e70f38e0cd91869751ae62d (diff)
downloadvdr-2a2919d053b392b04e6d8122114bd34cf2a1b22e.tar.gz
vdr-2a2919d053b392b04e6d8122114bd34cf2a1b22e.tar.bz2
Fixed 'Transfer Mode' to check for primary interface
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index e583baf9..ba0894d7 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.50 2001/01/18 19:53:54 kls Exp $
+ * $Id: dvbapi.c 1.51 2001/01/20 09:51:51 kls Exp $
*/
#include "dvbapi.h"
@@ -2198,7 +2198,7 @@ bool cDvbApi::SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization,
currentChannel = ChannelNumber;
// If this DVB card can't receive this channel, let's see if we can
// use the card that actually can receive it and transfer data from there:
- if (Ca && Ca != Index() + 1) {
+ if (this == PrimaryDvbApi && Ca && Ca != Index() + 1) {
cDvbApi *CaDvbApi = GetDvbApi(Ca, 0);
if (CaDvbApi) {
if (!CaDvbApi->Recording()) {