mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 08:48:31 -04:00
Reduce error level of warnings about monitors having Function==NONE
This commit is contained in:
1 parent
e0a30ab5e0
commit
d6345d32fd
1 file changed
+3
-2
+3
-2
@@ -52,8 +52,9 @@ bool StreamBase::loadMonitor(int p_monitor_id) {
|
||||
Error("Unable to load monitor id %d for streaming", monitor_id);
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( monitor->GetFunction() == Monitor::NONE ) {
|
||||
Error("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
|
||||
Info("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -71,7 +72,7 @@ bool StreamBase::checkInitialised() {
|
||||
return false;
|
||||
}
|
||||
if ( monitor->GetFunction() == Monitor::NONE ) {
|
||||
Error("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
|
||||
Info("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
|
||||
return false;
|
||||
}
|
||||
if ( !monitor->ShmValid() ) {
|
||||
|
||||
Reference in new issue
Block a user