mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
hls: Check nettle version to ensure AES128 support
AES128 support was added since nettle version 3.0 ../subprojects/gst-plugins-bad/ext/hls/gsthlsdemux.h:110:10: error: field ‘ctx’ has incomplete type struct CBC_CTX (struct aes128_ctx, AES_BLOCK_SIZE) aes_ctx;
This commit is contained in:
parent
bdf9a76226
commit
4fc3aa6ef4
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if hls_option.disabled()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ['auto', 'nettle'].contains(hls_crypto)
|
if ['auto', 'nettle'].contains(hls_crypto)
|
||||||
hls_crypto_dep = dependency('nettle', required : false)
|
hls_crypto_dep = dependency('nettle', version : '>= 3.0', required : false)
|
||||||
if hls_crypto_dep.found()
|
if hls_crypto_dep.found()
|
||||||
hls_cargs += ['-DHAVE_NETTLE']
|
hls_cargs += ['-DHAVE_NETTLE']
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue