mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +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
|
||||
|
||||
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()
|
||||
hls_cargs += ['-DHAVE_NETTLE']
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue