mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +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:
6
obs/lg.c
6
obs/lg.c
@@ -175,8 +175,10 @@ static void lgUpdate(void * data, obs_data_t * settings)
|
|||||||
!= LGMP_OK)
|
!= LGMP_OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (lgmpClientSessionInit(this->lgmp, &udataSize, (uint8_t **)&udata)
|
usleep(200000);
|
||||||
!= LGMP_OK)
|
|
||||||
|
if (lgmpClientSessionInit(this->lgmp, &udataSize, (uint8_t **)&udata)
|
||||||
|
!= LGMP_OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (udataSize != sizeof(KVMFR) ||
|
if (udataSize != sizeof(KVMFR) ||
|
||||||
|
Reference in New Issue
Block a user