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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> this works


Klaus


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux