nvenc: only support HW frames when CUDA is enabled

Multimedia / Libav - Anton Khirnov [khirnov.net] - 19 May 2016 07:17 UTC

hwcontext_cuda.h includes cuda.h, so this will allow building nvenc without depending on cuda.h

f11ec8c nvenc: only support HW frames when CUDA is enabled
libavcodec/nvenc.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

Upstream: git.libav.org


  • Share