diff options
Diffstat (limited to 'video/out/hwdec/hwdec_cuda_vk.c')
-rw-r--r-- | video/out/hwdec/hwdec_cuda_vk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/hwdec/hwdec_cuda_vk.c b/video/out/hwdec/hwdec_cuda_vk.c index 73d38fb53d..f6fc49daa8 100644 --- a/video/out/hwdec/hwdec_cuda_vk.c +++ b/video/out/hwdec/hwdec_cuda_vk.c @@ -146,8 +146,8 @@ static bool cuda_ext_vk_init(struct ra_hwdec_mapper *mapper, if (evk->vk_sem.sem == VK_NULL_HANDLE) { ret = -1; goto error; - } - // The returned FD or Handle is owned by the caller (us). + } + // The returned FD or Handle is owned by the caller (us). CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC w_desc = { #if HAVE_WIN32_DESKTOP @@ -232,8 +232,8 @@ static bool cuda_ext_vk_wait(const struct ra_hwdec_mapper *mapper, int n) .value = evk->vk_sem.value } } - }; - ret = CHECK_CU(cu->cuWaitExternalSemaphoresAsync(&evk->cuda_sem, + }; + ret = CHECK_CU(cu->cuWaitExternalSemaphoresAsync(&evk->cuda_sem, &wp, 1, 0)); return ret == 0; } |