diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2020-01-10 16:03:48 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-01-13 19:15:29 +0000 |
commit | a9c115adebeaa4f35f27953b1cb94881912e5c00 (patch) | |
tree | 9d8fdc5ebda4044d3d8f0054bcd423185acad97e | |
parent | d0b2bde5befa523b94afd94357c21785a9b3563f (diff) | |
download | gstreamer-plugins-bad-a9c115adebeaa4f35f27953b1cb94881912e5c00.tar.gz |
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;
-rw-r--r-- | ext/hls/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hls/meson.build b/ext/hls/meson.build index 42291401f..c93eb4267 100644 --- a/ext/hls/meson.build +++ b/ext/hls/meson.build @@ -20,7 +20,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 |