have_allegro_header = cc.has_header (
'OMX_Allegro.h',
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
if not have_allegro_header
error ('Need Allegro OMX headers to build for Zynq UltraScale+. Use with_omx_header_path option to specify the path of those headers.')
endif
if cc.has_header (
'OMX_VideoExt.h',
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
extra_video_headers += '''
#include <OMX_VideoExt.h>'''
cdata.set ('HAVE_VIDEO_EXT', 1)
if cc.has_header (
'OMX_IndexExt.h',
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
cdata.set ('HAVE_INDEX_EXT', 1)
endif
if cc.has_header (
'OMX_ComponentExt.h',
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
cdata.set ('HAVE_COMPONENT_EXT', 1)
endif
if cc.has_header (
'OMX_CoreExt.h',
- args : gst_omx_args,
- required : false)
+ args : gst_omx_args)
cdata.set ('HAVE_CORE_EXT', 1)
endif
if cc.has_header (
'OMX_AudioExt.h',
- args : gst_omx_args,
- required : false)
+ args : gst_omx_args)
cdata.set ('HAVE_AUDIO_EXT', 1)
endif
if cc.has_header (
'OMX_IVCommonExt.h',
- args : gst_omx_args,
- required : false)
+ args : gst_omx_args)
cdata.set ('HAVE_IV_COMMON_EXT', 1)
endif
if cc.has_header (
'OMX_ImageExt.h',
- args : gst_omx_args,
- required : false)
+ args : gst_omx_args)
cdata.set ('HAVE_IMAGE_EXT', 1)
endif
if cc.has_header (
'OMX_OtherExt.h',
- args : gst_omx_args,
- required : false)
+ args : gst_omx_args)
cdata.set ('HAVE_OTHER_EXT', 1)
endif
'OMX_VIDEO_CodingVP8',
prefix : extra_video_headers,
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
if have_omx_vp8
cdata.set('HAVE_VP8', 1)
endif
'OMX_VIDEO_CodingTheora',
prefix : extra_video_headers,
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
if have_omx_theora
cdata.set('HAVE_THEORA', 1)
endif
'OMX_VIDEO_CodingHEVC',
prefix : extra_video_headers,
args : gst_omx_args,
- include_directories : [omx_inc],
- required : false)
+ include_directories : [omx_inc])
if have_omx_hevc
cdata.set('HAVE_HEVC', 1)
endif