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:
parent
d23578cea9
commit
8ea561a021
2
config.c
2
config.c
@ -14,7 +14,7 @@ cSatipConfig SatipConfig;
|
||||
cSatipConfig::cSatipConfig(void)
|
||||
: operatingModeM(eOperatingModeLow),
|
||||
#ifdef DEBUG
|
||||
loggingModeM(eLoggingModeDebug1 & eLoggingModeDebug2),
|
||||
loggingModeM(eLoggingModeDebug1 | eLoggingModeDebug2 | eLoggingModeDebug5),
|
||||
#else
|
||||
loggingModeM(eLoggingModeNormal),
|
||||
#endif
|
||||
|
4
device.c
4
device.c
@ -26,7 +26,7 @@ cSatipDevice::cSatipDevice(unsigned int indexP)
|
||||
{
|
||||
unsigned int bufsize = (unsigned int)SATIP_BUFFER_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,
|
||||
*cString::sprintf("SATIP#%d TS", deviceIndexM));
|
||||
if (tsBufferM) {
|
||||
@ -320,7 +320,7 @@ bool cSatipDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP)
|
||||
cDvbTransponderParameters dtp(channelP->Parameters());
|
||||
cString params = GetTransponderUrlParameters(channelP);
|
||||
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;
|
||||
}
|
||||
cString address;
|
||||
|
Loading…
Reference in New Issue
Block a user