summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha.yang@navercorp.com>2020-01-10 16:03:48 +0900
committerTim-Philipp Müller <tim@centricular.com>2020-01-13 19:15:29 +0000
commita9c115adebeaa4f35f27953b1cb94881912e5c00 (patch)
tree9d8fdc5ebda4044d3d8f0054bcd423185acad97e
parentd0b2bde5befa523b94afd94357c21785a9b3563f (diff)
downloadgstreamer-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.build2
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