Hello, This patch adds cuCtxGetCurrent function to nvcodec-headers repo. Second patch of the group which adds FFmpeg option to use current CUDA context depends on this.