diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-13 09:13:47 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-05-19 14:17:03 +0200 |
commit | 6f58b4dc477e22237c4e89f6e2a1435aaa45a4d3 (patch) | |
tree | 0c04952630f33ad9517a4cc07afb570de9c45928 /configure | |
parent | f11ec8cee72fd2f1d26c4cbc675597422d106e17 (diff) | |
download | ffmpeg-streaming-6f58b4dc477e22237c4e89f6e2a1435aaa45a4d3.zip ffmpeg-streaming-6f58b4dc477e22237c4e89f6e2a1435aaa45a4d3.tar.gz |
nvenc: drop the hard dependency on CUDA
The code needs only a few definitions from cuda.h, so define them
directly when CUDA is not enabled. CUDA is still required for accepting
HW frames as input.
Based on the code by Timo Rothenpieler <timo@rothenpieler.org>.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -4665,7 +4665,6 @@ if enabled libdc1394; then fi if enabled nvenc; then - enabled cuda || check_header cuda.h || die "ERROR: cuda.h not found." check_header nvEncodeAPI.h || die "ERROR: nvEncodeAPI.h not found." check_cpp_condition nvEncodeAPI.h "NVENCAPI_MAJOR_VERSION >= 6" || die "ERROR: NVENC API version 5 or older is not supported" |