This patch does not work for me -- no line matches:
             else if (!(hwctx->internal->flags & AV_CUDA_USE_CURRENT_CONTEXT))
or
-    } else if (flags & AV_CUDA_USE_CURRENT_CONTEXT) {

The original patch10 works for me.  I just verified that the ffmpeg 6.0 tar ball exactly matches what is on the ffmpeg download website.

On Tue, Oct 3, 2023 at 8:39 AM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
this one apparently work better, in sense it compiles!

can anyone check if cuda/nvenc hw acceleration still works with it?

On Tue, Oct 3, 2023 at 4:53 PM Andrew Randrianasulu
<randrianasulu@gmail.com> wrote:
>
> Because ffmpeg 6.1 still not branched I guess we better to look into relevant changes ... and adapt our patch.