mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
8921689575
commit
4af050c46e
|
@ -5816,10 +5816,6 @@ done
|
||||||
|
|
||||||
# these are off by default, so fail if requested and not available
|
# these are off by default, so fail if requested and not available
|
||||||
enabled cuda_sdk && require cuda_sdk cuda.h cuCtxCreate -lcuda
|
enabled cuda_sdk && require cuda_sdk cuda.h cuCtxCreate -lcuda
|
||||||
enabled cuvid && { enabled cuda ||
|
|
||||||
die "ERROR: CUVID requires CUDA"; }
|
|
||||||
enabled nvdec && { enabled cuda ||
|
|
||||||
die "ERROR: NVDEC hwaccel requires CUDA"; }
|
|
||||||
enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
|
enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
|
||||||
enabled decklink && { require_header DeckLinkAPI.h &&
|
enabled decklink && { require_header DeckLinkAPI.h &&
|
||||||
{ check_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a060100" || die "ERROR: Decklink API version must be >= 10.6.1."; } }
|
{ check_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a060100" || die "ERROR: Decklink API version must be >= 10.6.1."; } }
|
||||||
|
|
Loading…
Reference in New Issue