• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1openh264_sources = [
2  'gstopenh264dec.cpp',
3  'gstopenh264enc.cpp',
4  'gstopenh264element.c',
5  'gstopenh264plugin.c',
6]
7
8openh264_dep = dependency('openh264', version : '>= 1.3.0',
9                          required : get_option('openh264'),
10                          fallback: ['openh264', 'openh264_dep'])
11
12if openh264_dep.found()
13  gstopenh264 = library('gstopenh264',
14    openh264_sources,
15    c_args : gst_plugins_bad_args,
16    link_args : noseh_link_args,
17    include_directories : [configinc],
18    dependencies : [gstvideo_dep, openh264_dep, gstpbutils_dep, ],
19    install : true,
20    install_dir : plugins_install_dir,
21  )
22  pkgconfig.generate(gstopenh264, install_dir : plugins_pkgconfig_install_dir)
23  plugins += [gstopenh264]
24endif
25