From 2d997b3fdd0be29c3ae03ef686fe1d869aaed4ef Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sun, 14 Dec 2014 19:22:52 +0200 Subject: [PATCH] Added RTCP packet logging. --- log.h | 2 +- tuner.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/log.h b/log.h index 0e60202..63b9b33 100644 --- a/log.h +++ b/log.h @@ -30,7 +30,7 @@ #define debug8(x...) void( SatipConfig.IsLoggingMode(cSatipConfig::eLoggingModeDebug8) ? dsyslog("SATIP8: " x) : void() ) // 0x0100: Channel switching #define debug9(x...) void( SatipConfig.IsLoggingMode(cSatipConfig::eLoggingModeDebug9) ? dsyslog("SATIP9: " x) : void() ) -// 0x0200: TBD +// 0x0200: RTCP packets #define debug10(x...) void( SatipConfig.IsLoggingMode(cSatipConfig::eLoggingModeDebug10) ? dsyslog("SATIP10: " x) : void() ) // 0x0400: TBD #define debug11(x...) void( SatipConfig.IsLoggingMode(cSatipConfig::eLoggingModeDebug11) ? dsyslog("SATIP11: " x) : void() ) diff --git a/tuner.c b/tuner.c index 361f49a..9b99f9f 100644 --- a/tuner.c +++ b/tuner.c @@ -277,7 +277,7 @@ void cSatipTuner::ProcessApplicationData(u_char *bufferP, int lengthP) if (lengthP > 0) { char s[lengthP]; memcpy(s, (char *)bufferP, lengthP); - debug16("%s (%s) [device %d]", __PRETTY_FUNCTION__, s, deviceIdM); + debug10("%s (%s) [device %d]", __PRETTY_FUNCTION__, s, deviceIdM); char *c = strstr(s, ";tuner="); if (c) { int value;