[vdr] Allow recording of encrpted and FTA channel simultaneously

C.Y.M syphir at syphir.sytes.net
Sun Mar 6 20:44:51 CET 2005


Since it is only possible to view one encrypted channel per card, this patch 
allows vdr to record both an encrypted and a FTA channel, simultaneously, using 
a single dvb card.


Regards,
-------------- next part --------------
--- vdr-1.3.22/dvbdevice.c.orig	2005-03-06 11:17:04.000000000 -0800
+++ vdr-1.3.22/dvbdevice.c	2005-03-06 11:21:15.000000000 -0800
@@ -907,9 +907,8 @@
         if (dvbTuner->IsTunedTo(Channel)) {
            if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0))) {
 #ifdef DO_MULTIPLE_RECORDINGS
-              if (Ca() > CACONFBASE || Channel->Ca() > CACONFBASE)
-                 needsDetachReceivers = !ciHandler // only LL-firmware can do non-live CA channels
-                                        || Ca() != Channel->Ca();
+              if (Ca() > CACONFBASE && Channel->Ca() > CACONFBASE)
+                 needsDetachReceivers = true; // only LL-firmware can do non-live CA channels 
               else if (!IsPrimaryDevice())
                  result = true;
 #ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE


More information about the vdr mailing list