mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[obs] remove useless advance operation
This commit is contained in:
10
obs/lg.c
10
obs/lg.c
@@ -212,16 +212,6 @@ static void lgVideoTick(void * data, float seconds)
|
|||||||
return;
|
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 = lgmpClientProcess(this->frameQueue, &msg)) != LGMP_OK)
|
||||||
{
|
{
|
||||||
if (status == LGMP_ERR_QUEUE_EMPTY)
|
if (status == LGMP_ERR_QUEUE_EMPTY)
|
||||||
|
Reference in New Issue
Block a user