mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-15 04:46:32 +00:00
067185e7da
shared by both cccombiner and ccconverter Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3211>
25 lines
810 B
Meson
25 lines
810 B
Meson
closedcaption_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 closedcaption_dep.found()
|
|
gstclosedcaption = library('gstclosedcaption',
|
|
'gstcccombiner.c', 'gstccextractor.c', 'gstccconverter.c', 'gstclosedcaption.c',
|
|
'gstline21dec.c', 'gstcea708decoder.c', 'gstceaccoverlay.c', 'gstline21enc.c', 'ccutils.c',
|
|
zvbi_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, gstbase_dep, gst_dep, closedcaption_dep, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstclosedcaption]
|
|
endif
|