mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 06:29:31 +00:00
95464c8977
- Overlay analytics-meta-od attached to video buffer Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5768>
30 lines
906 B
Meson
30 lines
906 B
Meson
if get_option('analyticsoverlay').disabled()
|
|
gstanalyticsoverlay_ext_dep = disabler()
|
|
subdir_done()
|
|
endif
|
|
|
|
analyticsoverlay_sources = [
|
|
'gstanalyticsoverlay.c',
|
|
'gstobjectdetectionoverlay.c',
|
|
]
|
|
|
|
gstanalyticsoverlay_ext_dep = dependency('pangocairo', version : '>=1.22.0',
|
|
required : get_option('analyticsoverlay'),
|
|
fallback: ['pango', 'libpangocairo_dep'],
|
|
default_options: ['cairo=enabled'])
|
|
|
|
if gstanalyticsoverlay_ext_dep.found()
|
|
gstanalyticsoverlay = library('gstanalyticsoverlay',
|
|
analyticsoverlay_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [
|
|
gstbase_dep, gstvideo_dep, gstanalytics_dep, gstanalyticsoverlay_ext_dep
|
|
],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstanalyticsoverlay]
|
|
else
|
|
error('analyticsoverlay plugin is enabled, but dependency is missing')
|
|
endif
|