mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-22 19:31:21 +00:00
[obs] remove useless advance operation
This commit is contained in:
parent
08062e3fc3
commit
94d383a8c1
2 changed files with 1 additions and 11 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B2-rc1-8-g4441427943+1
|
||||
B2-rc1-9-g08062e3fc3+1
|
10
obs/lg.c
10
obs/lg.c
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue