mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +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)
 | 
			
		||||
    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) ||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user