2020-11-13 16:06:32 +00:00
|
|
|
encoding_sources = [
|
|
|
|
'gstencodebasebin.c',
|
|
|
|
'gstencodebin.c',
|
2020-11-13 19:32:45 +00:00
|
|
|
'gstencodebin2.c',
|
2016-08-12 15:26:31 +00:00
|
|
|
'gstsmartencoder.c',
|
|
|
|
'gststreamcombiner.c',
|
|
|
|
'gststreamsplitter.c',
|
2020-11-13 16:06:32 +00:00
|
|
|
'plugin.c',
|
2021-02-11 09:43:14 +00:00
|
|
|
'gstencodingelements.c',
|
2020-11-13 16:06:32 +00:00
|
|
|
]
|
2016-08-12 15:26:31 +00:00
|
|
|
|
2025-01-13 17:10:31 +00:00
|
|
|
encoding_headers = [
|
|
|
|
'gstsmartencoder.h',
|
|
|
|
'gststreamsplitter.h',
|
|
|
|
'gstencodebasebin.h',
|
|
|
|
'gststreamcombinerpad.h',
|
|
|
|
'gstencodebin2.h',
|
|
|
|
'gstencodebin.h',
|
|
|
|
'gstencodingelements.h',
|
|
|
|
'gststreamcombiner.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: encoding_sources + encoding_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'encoding': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
|
|
|
if get_option('encoding').disabled()
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2017-03-04 15:08:04 +00:00
|
|
|
gstencoding = library('gstencoding',
|
2016-08-12 15:26:31 +00:00
|
|
|
encoding_sources,
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
|
|
|
dependencies : [pbutils_dep, video_dep, gst_base_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 06:17:24 +00:00
|
|
|
plugins += [gstencoding]
|