mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[obs] fix timeout when unsupported frame type is provided
This commit is contained in:
parent
accf300c6c
commit
1f4395570c
1
obs/lg.c
1
obs/lg.c
@ -646,6 +646,7 @@ static void lgVideoTick(void * data, float seconds)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
printf("invalid type %d\n", this->type);
|
printf("invalid type %d\n", this->type);
|
||||||
|
lgmpClientMessageDone(this->frameQueue);
|
||||||
os_sem_post(this->frameSem);
|
os_sem_post(this->frameSem);
|
||||||
obs_leave_graphics();
|
obs_leave_graphics();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user