diff --git a/device.c b/device.c index 6e6e703..5cc290c 100644 --- a/device.c +++ b/device.c @@ -345,7 +345,7 @@ bool cSatipDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP) bool cSatipDevice::SetPid(cPidHandle *handleP, int typeP, bool onP) { - debug9("%s (%d, %d, %d) [device %u]", __PRETTY_FUNCTION__, handleP->pid, typeP, onP, deviceIndexM); + debug12("%s (%d, %d, %d) [device %u]", __PRETTY_FUNCTION__, handleP->pid, typeP, onP, deviceIndexM); if (pTunerM && handleP && handleP->pid >= 0) { if (onP) return pTunerM->SetPid(handleP->pid, typeP, true); @@ -357,7 +357,7 @@ bool cSatipDevice::SetPid(cPidHandle *handleP, int typeP, bool onP) int cSatipDevice::OpenFilter(u_short pidP, u_char tidP, u_char maskP) { - debug9("%s (%d, %02X, %02X) [device %d]", __PRETTY_FUNCTION__, pidP, tidP, maskP, deviceIndexM); + debug12("%s (%d, %02X, %02X) [device %d]", __PRETTY_FUNCTION__, pidP, tidP, maskP, deviceIndexM); if (pSectionFilterHandlerM) { int handle = pSectionFilterHandlerM->Open(pidP, tidP, maskP); if (pTunerM && (handle >= 0)) @@ -371,7 +371,7 @@ void cSatipDevice::CloseFilter(int handleP) { if (pSectionFilterHandlerM) { int pid = pSectionFilterHandlerM->GetPid(handleP); - debug9("%s (%d) [device %u]", __PRETTY_FUNCTION__, pid, deviceIndexM); + debug12("%s (%d) [device %u]", __PRETTY_FUNCTION__, pid, deviceIndexM); if (pTunerM) pTunerM->SetPid(pid, ptOther, false); pSectionFilterHandlerM->Close(handleP); diff --git a/log.h b/log.h index e0d9465..4d5ee67 100644 --- a/log.h +++ b/log.h @@ -36,7 +36,7 @@ #define debug11(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug11) ? dsyslog("SATIP11: " x) : void() ) // 0x0800: Discovery #define debug12(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug12) ? dsyslog("SATIP12: " x) : void() ) -// 0x1000: TBD +// 0x1000: Pids #define debug13(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug13) ? dsyslog("SATIP13: " x) : void() ) // 0x2000: TBD #define debug14(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug14) ? dsyslog("SATIP14: " x) : void() ) diff --git a/tuner.c b/tuner.c index 464628d..5c770bf 100644 --- a/tuner.c +++ b/tuner.c @@ -377,7 +377,7 @@ bool cSatipTuner::SetPid(int pidP, int typeP, bool onP) delPidsM.AddPid(pidP); addPidsM.RemovePid(pidP); } - debug9("%s (%d, %d, %d) pids=%s [device %d]", __PRETTY_FUNCTION__, pidP, typeP, onP, *pidsM.ListPids(), deviceIdM); + debug12("%s (%d, %d, %d) pids=%s [device %d]", __PRETTY_FUNCTION__, pidP, typeP, onP, *pidsM.ListPids(), deviceIdM); sleepM.Signal(); return true;