mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] don't skip the first frame if we do not yet have a frame
A frame serial of `0` is valid and will happen if either the host app has just started, or the serial has overflowed.
This commit is contained in:
parent
e35facbb15
commit
8c2a77e84e
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ int main_frameThread(void * unused)
|
|||
|
||||
// ignore any repeated frames, this happens when a new client connects to
|
||||
// the same host application.
|
||||
if (frame->frameSerial == frameSerial)
|
||||
if (frame->frameSerial == frameSerial && g_state.formatValid)
|
||||
{
|
||||
lgmpClientMessageDone(queue);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue