[obs] fix timeout when unsupported frame type is provided

This commit is contained in:
Geoffrey McRae 2023-11-10 10:00:47 +11:00
parent accf300c6c
commit 1f4395570c

View File

@ -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;