Browse code

configure: remove superfluous cuvid and nvdec checks

Both are autodetected, and their dependency on cuda is checked
elsewhere.

Fixes ticket #6849.

Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: James Almer <jamrial@gmail.com>

James Almer authored on 2017/11/25 10:48:24
Showing 1 changed files
... ...
@@ -5816,10 +5816,6 @@ done
5816 5816
 
5817 5817
 # these are off by default, so fail if requested and not available
5818 5818
 enabled cuda_sdk          && require cuda_sdk cuda.h cuCtxCreate -lcuda
5819
-enabled cuvid             && { enabled cuda ||
5820
-                               die "ERROR: CUVID requires CUDA"; }
5821
-enabled nvdec             && { enabled cuda ||
5822
-                               die "ERROR: NVDEC hwaccel requires CUDA"; }
5823 5819
 enabled chromaprint       && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
5824 5820
 enabled decklink          && { require_header DeckLinkAPI.h &&
5825 5821
                                { check_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a060100" || die "ERROR: Decklink API version must be >= 10.6.1."; } }