[c-host] respect the full queue
This commit is contained in:
1 parent
418149c9a6
commit
8f8ebab712
2 files changed
+4
-1
No files matched your search
+1
-1
Submodule LGMP updated: 006c16d626...cf0a8aa098.
@@ -197,7 +197,10 @@ static int frameThread(void * opaque)
|
||||
|
||||
/* we post and then get the frame, this is intentional! */
|
||||
if ((status = lgmpHostQueuePost(app.frameQueue, 0, app.frameMemory[app.frameIndex])) != LGMP_OK)
|
||||
{
|
||||
DEBUG_ERROR("%s", lgmpStatusString(status));
|
||||
continue;
|
||||
}
|
||||
app.iface->getFrame(fb);
|
||||
}
|
||||
DEBUG_INFO("Frame thread stopped");
|
||||
|
||||
Reference in new issue
Block a user