1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Fixed the default logging mode in a DEBUG build.

This commit is contained in:
Rolf Ahrenberg 2014-12-16 21:58:46 +02:00
parent d23578cea9
commit 8ea561a021
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ cSatipConfig SatipConfig;
cSatipConfig::cSatipConfig(void) cSatipConfig::cSatipConfig(void)
: operatingModeM(eOperatingModeLow), : operatingModeM(eOperatingModeLow),
#ifdef DEBUG #ifdef DEBUG
loggingModeM(eLoggingModeDebug1 & eLoggingModeDebug2), loggingModeM(eLoggingModeDebug1 | eLoggingModeDebug2 | eLoggingModeDebug5),
#else #else
loggingModeM(eLoggingModeNormal), loggingModeM(eLoggingModeNormal),
#endif #endif

View File

@ -26,7 +26,7 @@ cSatipDevice::cSatipDevice(unsigned int indexP)
{ {
unsigned int bufsize = (unsigned int)SATIP_BUFFER_SIZE; unsigned int bufsize = (unsigned int)SATIP_BUFFER_SIZE;
bufsize -= (bufsize % TS_SIZE); bufsize -= (bufsize % TS_SIZE);
info("Creating SATIP device CardIndex=%d [device %u]", CardIndex(), deviceIndexM); info("Creating device CardIndex=%d DeviceNumber=%d [device %u]", CardIndex(), DeviceNumber(), deviceIndexM);
tsBufferM = new cRingBufferLinear(bufsize + 1, TS_SIZE, false, tsBufferM = new cRingBufferLinear(bufsize + 1, TS_SIZE, false,
*cString::sprintf("SATIP#%d TS", deviceIndexM)); *cString::sprintf("SATIP#%d TS", deviceIndexM));
if (tsBufferM) { if (tsBufferM) {
@ -320,7 +320,7 @@ bool cSatipDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP)
cDvbTransponderParameters dtp(channelP->Parameters()); cDvbTransponderParameters dtp(channelP->Parameters());
cString params = GetTransponderUrlParameters(channelP); cString params = GetTransponderUrlParameters(channelP);
if (isempty(params)) { if (isempty(params)) {
error("Unrecognized SATIP channel parameters: %s [device %u]", channelP->Parameters(), deviceIndexM); error("Unrecognized channel parameters: %s [device %u]", channelP->Parameters(), deviceIndexM);
return false; return false;
} }
cString address; cString address;