ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Thu Sep 29 20:40:23 2016 +0200| [97e7f03d356b26b01e440e817c21f157f99e0842] | committer: Timo Rothenpieler
avutil/hwcontext_cuda: use proper synchronization flag > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97e7f03d356b26b01e440e817c21f157f99e0842 --- libavutil/hwcontext_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index fa24c5d..40d2971 100644 --- a/libavutil/hwcontext_cuda.c +++ b/libavutil/hwcontext_cuda.c @@ -283,7 +283,7 @@ static int cuda_device_create(AVHWDeviceContext *ctx, const char *device, return AVERROR_UNKNOWN; } - err = cuCtxCreate(&hwctx->cuda_ctx, 0, cu_device); + err = cuCtxCreate(&hwctx->cuda_ctx, CU_CTX_SCHED_BLOCKING_SYNC, cu_device); if (err != CUDA_SUCCESS) { av_log(ctx, AV_LOG_ERROR, "Error creating a CUDA context\n"); return AVERROR_UNKNOWN; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog