mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
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:
parent
73f692ddf9
commit
9a8ab306b7
1 changed files with 1 additions and 3 deletions
|
@ -29,8 +29,6 @@ endif
|
||||||
|
|
||||||
if gst_libav.length() == 0
|
if gst_libav.length() == 0
|
||||||
message('WARNING: gst-libav not built as ffmpeg >= n3.1.2 not found on the system')
|
message('WARNING: gst-libav not built as ffmpeg >= n3.1.2 not found on the system')
|
||||||
else
|
|
||||||
subprojects += gst_libav
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('enable_python')
|
if get_option('enable_python')
|
||||||
|
@ -46,7 +44,7 @@ if not get_option('disable_gst_plugins_bad')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not get_option('disable_gst_libav')
|
if not get_option('disable_gst_libav')
|
||||||
subprojects += ['gst-libav']
|
subprojects += gst_libav
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not get_option('disable_gst_devtools')
|
if not get_option('disable_gst_devtools')
|
||||||
|
|
Loading…
Reference in a new issue