mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
tests: Enable hls m3u8 unit test with meson build
This commit is contained in:
parent
48657bf846
commit
e779160434
3 changed files with 4 additions and 2 deletions
|
@ -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]],
|
||||
|
|
Loading…
Reference in a new issue