mirror of
				https://github.com/rofafor/vdr-plugin-satip.git
				synced 2023-10-10 11:37:42 +00:00 
			
		
		
		
	Added RTCP packet logging.
This commit is contained in:
		
							
								
								
									
										2
									
								
								log.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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() )
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								tuner.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user