2025-01-13 17:10:31 +00:00
|
|
|
videocrop_sources = [
|
|
|
|
'gstvideocrop.c',
|
|
|
|
'gstaspectratiocrop.c',
|
|
|
|
'gstvideocropplugin.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
videocrop_headers = [
|
|
|
|
'gstaspectratiocrop.h',
|
|
|
|
'gstvideocrop-private.h',
|
|
|
|
'gstvideocrop.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: videocrop_sources + videocrop_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'videocrop': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
|
|
|
if get_option('videocrop').disabled()
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2016-08-12 15:42:30 +00:00
|
|
|
gstvideocrop = library('gstvideocrop',
|
2025-01-13 17:10:31 +00:00
|
|
|
videocrop_sources,
|
2016-08-12 15:42:30 +00:00
|
|
|
c_args : gst_plugins_good_args,
|
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gst_dep, gstbase_dep, gstvideo_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:39:55 +00:00
|
|
|
plugins += [gstvideocrop]
|