mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[obs] add delay to fix startup
this delay is needed to allow the host clock to change so we can validate the session.
This commit is contained in:
parent
240d0ff263
commit
dc3e89e65c
6
obs/lg.c
6
obs/lg.c
@ -175,8 +175,10 @@ static void lgUpdate(void * data, obs_data_t * settings)
|
||||
!= LGMP_OK)
|
||||
return;
|
||||
|
||||
if (lgmpClientSessionInit(this->lgmp, &udataSize, (uint8_t **)&udata)
|
||||
!= LGMP_OK)
|
||||
usleep(200000);
|
||||
|
||||
if (lgmpClientSessionInit(this->lgmp, &udataSize, (uint8_t **)&udata)
|
||||
!= LGMP_OK)
|
||||
return;
|
||||
|
||||
if (udataSize != sizeof(KVMFR) ||
|
||||
|
Loading…
Reference in New Issue
Block a user