Credit SGE conversion of Adam-s plugins ChromakeyAvid/Color Swatch + updated ContextM...
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-7.0.patch10
1 --- a/libavutil/hwcontext_cuda.c
2 +++ b/libavutil/hwcontext_cuda.c
3 @@ -363,11 +363,13 @@
4                                                      hwctx->internal->cuda_device));
5          if (ret < 0)
6              return ret;
7 +#if 0
8      } else if (flags & AV_CUDA_USE_CURRENT_CONTEXT) {
9          ret = CHECK_CU(cu->cuCtxGetCurrent(&hwctx->cuda_ctx));
10          if (ret < 0)
11              return ret;
12          av_log(device_ctx, AV_LOG_INFO, "Using current CUDA context.\n");
13 +#endif
14      } else {
15          ret = CHECK_CU(cu->cuCtxCreate(&hwctx->cuda_ctx, desired_flags,
16                                         hwctx->internal->cuda_device));