summaryrefslogtreecommitdiff
path: root/tests/check/media/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/media/meson.build')
-rw-r--r--tests/check/media/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/check/media/meson.build b/tests/check/media/meson.build
new file mode 100644
index 000000000..7094d2dfc
--- /dev/null
+++ b/tests/check/media/meson.build
@@ -0,0 +1,19 @@
+test_media = [
+ 'audio.ogg',
+ 'audio-video.ogg',
+ 'audio-short.ogg',
+ 'audio-video-short.ogg',
+ 'sintel.mkv',
+ 'test_sub.srt',
+]
+
+download_media = find_program('download-media')
+
+foreach m: test_media
+ downloaded_media = custom_target(m,
+ input : [],
+ output : m,
+ command: [download_media, 'http://gstreamer.freedesktop.org/data/media/small/' + m, '@OUTPUT@'],
+ build_by_default: true,
+ install: false)
+endforeach