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)
|
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
|
||||||
|
4
device.c
4
device.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user