diff options
Diffstat (limited to 'video/out/hwdec/hwdec_cuda.c')
-rw-r--r-- | video/out/hwdec/hwdec_cuda.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/hwdec/hwdec_cuda.c b/video/out/hwdec/hwdec_cuda.c index 3edc58c6eb..2a2b296ccd 100644 --- a/video/out/hwdec/hwdec_cuda.c +++ b/video/out/hwdec/hwdec_cuda.c @@ -249,6 +249,8 @@ static int mapper_map(struct ra_hwdec_mapper *mapper) goto error; } } + if (p_owner->do_full_sync) + CHECK_CU(cu->cuStreamSynchronize(0)); error: eret = CHECK_CU(cu->cuCtxPopCurrent(&dummy)); |