mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +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
@ -499,7 +499,7 @@ int main_frameThread(void * unused)
|
|||||||
|
|
||||||
// ignore any repeated frames, this happens when a new client connects to
|
// ignore any repeated frames, this happens when a new client connects to
|
||||||
// the same host application.
|
// the same host application.
|
||||||
if (frame->frameSerial == frameSerial)
|
if (frame->frameSerial == frameSerial && g_state.formatValid)
|
||||||
{
|
{
|
||||||
lgmpClientMessageDone(queue);
|
lgmpClientMessageDone(queue);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user