Commit e7791604 authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by Sebastian Dröge

tests: Enable hls m3u8 unit test with meson build

parent 48657bf8
......@@ -12,6 +12,8 @@ hls_cargs = ['-DGST_USE_UNSTABLE_API']
hls_crypto = get_option('hls-crypto')
hls_option = get_option('hls')
# used for unit test
hls_dep = dependency('', required : false)
have_hls_crypto = false
if not hls_option.disabled()
......@@ -62,4 +64,5 @@ if have_hls_crypto
)
pkgconfig.generate(gsthls, install_dir : plugins_pkgconfig_install_dir)
plugins += [gsthls]
hls_dep = declare_dependency(include_directories : include_directories('.'))
endif
......@@ -22,8 +22,6 @@
* Boston, MA 02111-1307, USA.
*/
#include <unistd.h>
#include <gst/check/gstcheck.h>
#undef GST_CAT_DEFAULT
......
......@@ -35,6 +35,7 @@ base_tests = [
[['elements/gdppay.c']],
[['elements/h263parse.c'], false, [libparser_dep, gstcodecparsers_dep]],
[['elements/h264parse.c'], false, [libparser_dep, gstcodecparsers_dep]],
[['elements/hlsdemux_m3u8.c'], not hls_dep.found(), [hls_dep]],
[['elements/id3mux.c']],
[['elements/mpegtsmux.c'], false, [gstmpegts_dep]],
[['elements/mpeg4videoparse.c'], false, [libparser_dep, gstcodecparsers_dep]],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment