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.
This commit is contained in:
Tim-Philipp Müller 2016-10-27 00:05:51 +01:00
parent 73f692ddf9
commit 9a8ab306b7

View file

@ -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')