From: Seungha Yang Date: Fri, 10 Jan 2020 07:03:48 +0000 (+0900) Subject: hls: Check nettle version to ensure AES128 support X-Git-Tag: 1.19.3~507^2~2445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fc3aa6ef4cb52f1571e570194975cc18cc41734;p=platform%2Fupstream%2Fgstreamer.git 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; --- diff --git a/ext/hls/meson.build b/ext/hls/meson.build index 8c1f982..3ef45ee 100644 --- a/ext/hls/meson.build +++ b/ext/hls/meson.build @@ -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