[vdr] Fix: no second APID or Dolby DIgital in live view with VDR 1.3.37

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Tue Nov 29 18:20:44 CET 2005

The changes to CA handling in VDR 1.3.37 have broken the
second APID and live Dolby Digital on encrypted channels.

Here's a quick workaround for the problem:

--- dvbdevice.c 2005/11/26 13:23:11     1.138
+++ dvbdevice.c 2005/11/29 17:08:35
@@ -825,6 +825,11 @@
          esyslog("ERROR: failed to set PIDs for channel %d on device %d", Channel->Number(), CardIndex() + 1);
          return false;
+     //XXX workaround for addition live audio PIDs:
+     if (ciHandler) {
+        ciHandler->SetPid(Channel->Apid(1), true);
+        ciHandler->SetPid(Channel->Dpid(0), true);
+        }
       if (IsPrimaryDevice())
          AddPid(Channel->Tpid(), ptTeletext);
       CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, true)); // actually one would expect 'false' here, but according to Marco Schlüßler <marco at lordzodiac.de> this works


More information about the vdr mailing list