From 891b128b9e23ee20a7475fbbe94e3bf34d30adf7 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 30 Sep 2005 22:47:55 +0000 Subject: [PATCH] set correct "descramble on demux" bitmask --- lib/dvb/pmt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp index f948e95c..a5bd9705 100644 --- a/lib/dvb/pmt.cpp +++ b/lib/dvb/pmt.cpp @@ -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 -- 2.30.2