[host] add timeout return value for repeated frame

This is to allow a repeat frame without incuring an additional
memory copy when the frame is already in shared memory.
This commit is contained in:
Geoffrey McRae
2018-07-26 03:08:52 +10:00
parent 5cabf155ab
commit 343983d9af
3 changed files with 61 additions and 42 deletions

View File

@@ -52,6 +52,7 @@ struct FrameInfo
enum GrabStatus
{
GRAB_STATUS_OK,
GRAB_STATUS_TIMEOUT,
GRAB_STATUS_REINIT,
GRAB_STATUS_CURSOR,
GRAB_STATUS_ERROR