convert function to relevant capturing/analysing
This commit is contained in:
parent
2ba0757fca
commit
657fc5cad5
|
@ -46,8 +46,8 @@ bool StreamBase::loadMonitor(int p_monitor_id) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( monitor->GetFunction() == Monitor::NONE ) {
|
if (monitor->Capturing() == Monitor::CAPTURING_NONE) {
|
||||||
Info("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
|
Info("Monitor %d has capturing == NONE. Will not be able to connect to it.", monitor_id);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,8 +69,8 @@ bool StreamBase::checkInitialised() {
|
||||||
Error("Cannot stream, not initialised");
|
Error("Cannot stream, not initialised");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (monitor->GetFunction() == Monitor::NONE) {
|
if (monitor->Capturing() == Monitor::CAPTURING_NONE) {
|
||||||
Info("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
|
Info("Monitor %d has capturing == NONE. Will not be able to connect to it.", monitor_id);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!monitor->ShmValid()) {
|
if (!monitor->ShmValid()) {
|
||||||
|
|
Loading…
Reference in New Issue