From 5fef77518e44b54e42651852ca5617e317f9b4cf Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 9 Jan 2015 02:06:20 +0200 Subject: [PATCH] Changed the PMT debugging into a separate trace mode. --- device.c | 2 +- log.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device.c b/device.c index 6c2a63e..8e9ffd4 100644 --- a/device.c +++ b/device.c @@ -434,7 +434,7 @@ int cSatipDevice::GetPmtPid(void) #if defined(APIVERSNUM) && APIVERSNUM >= 20107 pid = channelM.Ca() ? ::GetPmtPid(channelM.Source(), channelM.Transponder(), channelM.Sid()) : 0; #endif - debug16("%s pmtpid=%d source=%c transponder=%d sid=%d name=%s [device %u]", __PRETTY_FUNCTION__, pid, cSource::ToChar(channelM.Source()), channelM.Transponder(), channelM.Sid(), channelM.Name(), deviceIndexM); + debug11("%s pmtpid=%d source=%c transponder=%d sid=%d name=%s [device %u]", __PRETTY_FUNCTION__, pid, cSource::ToChar(channelM.Source()), channelM.Transponder(), channelM.Sid(), channelM.Name(), deviceIndexM); return pid; } diff --git a/log.h b/log.h index e53b4be..9c03c19 100644 --- a/log.h +++ b/log.h @@ -32,7 +32,7 @@ #define debug9(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug9) ? dsyslog("SATIP9: " x) : void() ) // 0x0200: RTCP packets #define debug10(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug10) ? dsyslog("SATIP10: " x) : void() ) -// 0x0400: TBD +// 0x0400: PMT #define debug11(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug11) ? dsyslog("SATIP11: " x) : void() ) // 0x0800: TBD #define debug12(x...) void( SatipConfig.IsTraceMode(cSatipConfig::eTraceModeDebug12) ? dsyslog("SATIP12: " x) : void() )