2016-08-12 15:51:45 +00:00
|
|
|
d3dvideosink_sources = [
|
|
|
|
'd3dhelpers.c',
|
|
|
|
'd3dvideosink.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
if host_system == 'windows' and cc.has_header('d3d9.h')
|
|
|
|
d3dvideosink_dep = [cc.find_library('d3d9'), cc.find_library('gdi32')]
|
|
|
|
|
2017-07-20 14:29:18 +00:00
|
|
|
gstd3dvideosink = library('gstd3d',
|
2016-08-12 15:51:45 +00:00
|
|
|
d3dvideosink_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstvideo_dep] + d3dvideosink_dep,
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstd3dvideosink, install_dir : plugins_pkgconfig_install_dir)
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|