summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2017-06-02 12:48:57 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-06-17 10:52:32 +0300
commit2f8e7af6da593b8eb9e2c63c711b87adb966821b (patch)
tree49a0b110086137b3c844d0fd0054fdfe8508f823
parentea94905a9110b48eb6cf66210fb899809700c97e (diff)
meson: define HAVE_VIDEO_EXT if OMX_VideoExt.h is present
Meson build wasn't defining the HAVE_VIDEO_EXT like configure.ac does. https://bugzilla.gnome.org/show_bug.cgi?id=783346
-rw-r--r--meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c992276..532569e 100644
--- a/meson.build
+++ b/meson.build
@@ -168,6 +168,9 @@ have_external_omx = cc.has_header(
args : gst_omx_args,
required : false)
extra_video_headers = ''
+# Our internal OpenMAX IL headers have OMX_VideoExt.h
+have_video_ext = true
+
if have_external_omx
have_video_ext = cc.has_header (
'OMX_VideoExt.h',
@@ -179,6 +182,10 @@ if have_external_omx
endif
endif
+if have_video_ext
+ cdata.set ('HAVE_VIDEO_EXT', 1)
+endif
+
have_omx_vp8 = cc.has_header_symbol(
'OMX_Video.h',
'OMX_VIDEO_CodingVP8',