[obs] remove useless advance operation

This commit is contained in:
Geoffrey McRae committed 2020-05-22 22:51:41 +10:00
1 parent 08062e3fc3
commit 94d383a8c1
2 files changed
+1 -11

No files matched your search

+1 -1
View File
@@ -1 +1 @@
B2-rc1-8-g4441427943+1
B2-rc1-9-g08062e3fc3+1
-10
View File
@@ -212,16 +212,6 @@ static void lgVideoTick(void * data, float seconds)
return;
}
if ((status = lgmpClientAdvanceToLast(this->frameQueue)) != LGMP_OK)
{
if (status != LGMP_ERR_QUEUE_EMPTY)
{
os_sem_post(this->frameSem);
printf("lgmpClientAdvanceToLast: %s\n", lgmpStatusString(status));
return;
}
}
if ((status = lgmpClientProcess(this->frameQueue, &msg)) != LGMP_OK)
{
if (status == LGMP_ERR_QUEUE_EMPTY)