• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1xvimage_sources = [
2  'xvcontext.c',
3  'xvimage.c',
4  'xvimageallocator.c',
5  'xvimagepool.c',
6  'xvimagesink.c',
7]
8
9xvideo_dep = dependency('xv', required : get_option('xvideo'))
10core_conf.set('HAVE_XVIDEO', x11_dep.found() and xvideo_dep.found())
11
12if xvideo_dep.found()
13  gstxvimage = library('gstxvimagesink',
14    xvimage_sources,
15    c_args : gst_plugins_base_args,
16    include_directories: [configinc, libsinc],
17    dependencies : glib_deps + [video_dep, gst_base_dep, gst_dep, x11_dep, xshm_dep, xvideo_dep, libm],
18    install : true,
19    install_dir : plugins_install_dir,
20  )
21  pkgconfig.generate(gstxvimage, install_dir : plugins_pkgconfig_install_dir)
22endif
23