nvenc: only support HW frames when CUDA is enabled
authorAnton Khirnov <anton@khirnov.net>
Fri, 13 May 2016 07:05:25 +0000 (09:05 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 19 May 2016 12:17:03 +0000 (14:17 +0200)
commitf11ec8cee72fd2f1d26c4cbc675597422d106e17
treeffca41f7574bcc24a922b3360f7e8829609ec730
parent2156c4c300971e490b5ca463d78c87c383c2b9a2
nvenc: only support HW frames when CUDA is enabled

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