[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:
1 parent
e35facbb15
commit
8c2a77e84e
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user