forked from marfrit/libva-v4l2-request-fourier
surface: Amend timeout
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
+1
-1
@@ -186,8 +186,8 @@ VAStatus sunxi_cedrus_SyncSurface(VADriverContextP ctx,
|
||||
FD_SET(request_fd, &read_fds);
|
||||
|
||||
rc = select(request_fd + 1, &read_fds, NULL, NULL, NULL);
|
||||
// FIXME: Properly dispose of the buffers here?
|
||||
if(rc <= 0)
|
||||
// FIXME: Properly dispose of the buffers here, also reinit request when it fails, also set surface status
|
||||
return VA_STATUS_ERROR_UNKNOWN;
|
||||
|
||||
assert(ioctl(request_fd, MEDIA_REQUEST_IOC_REINIT, NULL)==0);
|
||||
|
||||
Reference in New Issue
Block a user