mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
meson: Add support orc fallback
Allow fallback to orc subproject if any.
This commit is contained in:
parent
2942f7d931
commit
de65f8867b
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
|
|||
gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
|
||||
fallback : ['gstreamer', 'gst_controller_dep'])
|
||||
|
||||
orc_dep = dependency('orc-0.4', version : '>= 0.4.16', required : get_option('orc'))
|
||||
orc_dep = dependency('orc-0.4', version : '>= 0.4.16', required : get_option('orc'),
|
||||
fallback : ['orc', 'orc_dep'])
|
||||
if orc_dep.found()
|
||||
cdata.set('HAVE_ORC', 1) # used by a52dec for cpu detection
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue