set correct "descramble on demux" bitmask
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 30 Sep 2005 22:47:55 +0000 (22:47 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 30 Sep 2005 22:47:55 +0000 (22:47 +0000)
lib/dvb/pmt.cpp

index f948e95cca8ec6afbaaf1c92b8fb4e9f43dd12e7..a5bd97054319f853ffd02d8cf7c6a21a47217f63 100644 (file)
@@ -284,8 +284,8 @@ void eDVBCAService::buildCAPMT()
 
                tmp[0] = 0x82; // demux
                tmp[1] = 0x02;
-               m_parent.m_demux->getCADemuxID(tmp[2]);  // descramble on demux
-               m_parent.m_demux->getCADemuxID(tmp[3]);  // get section data from demux1
+               m_parent.m_demux->getCADemuxID(tmp[3]); // read section data from demux number
+               tmp[2] = 1 << tmp[3];                   // descramble bitmask
                capmt.injectDescriptor(tmp, false);
 
                tmp[0] = 0x81; // dvbnamespace