You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current vaSyncSurface interface pushes application to use a separate thread for synchronization, since app. can't afford to block main thread for unknown time.
My suggestion is to a new function add a vaSyncSurface2 w/ timeout parameter -
Either VA_STATUS_ERROR_SURFACE_BUSY\ VA_STATUS_ERROR_HW_BUSY statuses could be re-used to indicate the timeout is expired or a new one status VA_STATUS_ERROR_TIMEOUT could be introduced.