2016-08-12 15:51:45 +00:00
|
|
|
openh264_sources = [
|
|
|
|
'gstopenh264dec.cpp',
|
|
|
|
'gstopenh264enc.cpp',
|
2021-02-18 14:21:40 +00:00
|
|
|
'gstopenh264element.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstopenh264plugin.c',
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
openh264_dep = dependency('openh264', version : '>= 1.3.0',
|
|
|
|
required : get_option('openh264'),
|
|
|
|
fallback: ['openh264', 'openh264_dep'])
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
if openh264_dep.found()
|
|
|
|
gstopenh264 = library('gstopenh264',
|
|
|
|
openh264_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc],
|
2021-05-28 21:36:15 +00:00
|
|
|
dependencies : [gstvideo_dep, openh264_dep, gstpbutils_dep, ],
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstopenh264, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstopenh264]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|