[FFmpeg-devel] [PATCH 2/2] libavutil/hwcontect_cuda: add option to use current CUDA context

Timo Rothenpieler timo at rothenpieler.org
Thu Sep 14 16:32:45 EEST 2023


On 14/09/2023 15:29, Roman Arzumanyan wrote:
> Thanks for the swift reply Timo, you're right about versioning.
> However, I didn't find any existing CUDA API versioning macro unlike 
> that for Video Codec SDK API.
> So I basically did the same thing as that in previous commit to 
> nvcodec-headers which barely adds new function pointer...

The usual approach is to rely on the ffnvcodec version.
Whenever you need a function from a specific version, bump the versions 
in configure to the current version from git master and all the 
respective old branches, since that will be the version of the next release.


More information about the ffmpeg-devel mailing list