From 9a8ab306b7d300c85358972095ae8bb2b5ce3189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 27 Oct 2016 00:05:51 +0100 Subject: [PATCH] Fix build if we can't find system ffmpeg / libavfilter dev packages It would unconditionally add gst-libav to subprojects even if the dep was not found. --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 0ec870564d..e93c370f67 100644 --- a/meson.build +++ b/meson.build @@ -29,8 +29,6 @@ endif if gst_libav.length() == 0 message('WARNING: gst-libav not built as ffmpeg >= n3.1.2 not found on the system') -else - subprojects += gst_libav endif if get_option('enable_python') @@ -46,7 +44,7 @@ if not get_option('disable_gst_plugins_bad') endif if not get_option('disable_gst_libav') - subprojects += ['gst-libav'] + subprojects += gst_libav endif if not get_option('disable_gst_devtools')