fix semantics of LTC_Slave::locked() - we must have detected FPS to be considered locked
This commit is contained in:
parent
d2d349a30b
commit
5146d93853
@ -162,7 +162,8 @@ LTC_TransportMaster::resolution () const
|
||||
bool
|
||||
LTC_TransportMaster::locked () const
|
||||
{
|
||||
return (delayedlocked < 5);
|
||||
DEBUG_TRACE (DEBUG::Slave, string_compose ("locked: fps ? %1 dlocked %2\n", fps_detected, delayedlocked));
|
||||
return fps_detected && (delayedlocked < 5);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user