mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
e4f7cdb0df
It's been around for more than 4 years and people have built lots of stuff on top of it, doesn't really make sense to keep it marked as unstable. We're unlikely to change it now, and we can always deprecate it and make a new one if needed. This stabilises the following API: - gst_tracer_register() - gst_tracing_get_active_tracers() - gst_tracing_register_hook() - gst_tracer_record_new() - gst_tracer_record_log() Might also help a bit with #424 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/576>
34 lines
761 B
Meson
34 lines
761 B
Meson
if not tracer_hooks
|
|
if get_option('coretracers').enabled()
|
|
error('coretracers plugin enabled but not tracer_hooks')
|
|
endif
|
|
subdir_done()
|
|
endif
|
|
|
|
gst_tracers_sources = [
|
|
'gstlatency.c',
|
|
'gstleaks.c',
|
|
'gststats.c',
|
|
'gsttracers.c',
|
|
]
|
|
|
|
if gst_debug
|
|
gst_tracers_sources += ['gstlog.c']
|
|
endif
|
|
|
|
if cdata.has('HAVE_GETRUSAGE')
|
|
gst_tracers_sources += ['gstrusage.c']
|
|
endif
|
|
|
|
thread_dep = dependency('threads', required : false)
|
|
|
|
gst_tracers = library('gstcoretracers',
|
|
gst_tracers_sources,
|
|
c_args : gst_c_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gst_dep, thread_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gst_tracers, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gst_tracers]
|