gstreamer/ext/closedcaption/meson.build
Mathieu Duponchelle 156865541f closedcaption: add line21 encoder
This element acts as a counterpart of line21encoder.

Also adds a simple test validating each element using the
other.
2019-03-06 11:29:20 +01:00

25 lines
840 B
Meson

pangocairo_dep = dependency('pangocairo', version : '>= 1.22.0',
required : get_option('closedcaption'))
zvbi_sources = [
'bit_slicer.c',
'decoder.c',
'raw_decoder.c',
'sampling_par.c',
'io-sim.c',
]
if pangocairo_dep.found()
gstclosedcaption = library('gstclosedcaption',
'gstcccombiner.c', 'gstccextractor.c', 'gstccconverter.c', 'gstclosedcaption.c',
'gstline21dec.c', 'gstcea708decoder.c', 'gstceaccoverlay.c', 'gstline21enc.c',
zvbi_sources,
c_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, gstbase_dep, gst_dep, pangocairo_dep, libm],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstclosedcaption, install_dir : plugins_pkgconfig_install_dir)
endif