meson: Add option to use gstreamer debugging API
gst_debug_bin_to_dot_data() can only be used if gstreamer has been compiled with debugging features enabled.
This commit is contained in:
@@ -63,6 +63,10 @@ config_data.set_quoted('PACKAGE_URL', calls_homepage)
|
|||||||
config_data.set_quoted('PACKAGE_VERSION', calls_version)
|
config_data.set_quoted('PACKAGE_VERSION', calls_version)
|
||||||
config_data.set('PACKAGE_URL_RAW', calls_homepage)
|
config_data.set('PACKAGE_URL_RAW', calls_homepage)
|
||||||
|
|
||||||
|
gst_debug = get_option('gst_debug')
|
||||||
|
config_data.set('CALLS_GST_DEBUG', gst_debug, description: 'Use GStreamer debugging API')
|
||||||
|
|
||||||
|
|
||||||
run_data = configuration_data()
|
run_data = configuration_data()
|
||||||
run_data.set('ABS_BUILDDIR', meson.current_build_dir())
|
run_data.set('ABS_BUILDDIR', meson.current_build_dir())
|
||||||
run_data.set('ABS_SRCDIR', meson.current_source_dir())
|
run_data.set('ABS_SRCDIR', meson.current_source_dir())
|
||||||
|
|||||||
@@ -9,3 +9,7 @@ option('tests',
|
|||||||
option('manpages',
|
option('manpages',
|
||||||
type: 'boolean', value: true,
|
type: 'boolean', value: true,
|
||||||
description: 'Whether to generate man pages')
|
description: 'Whether to generate man pages')
|
||||||
|
|
||||||
|
option('gst_debug',
|
||||||
|
type: 'boolean', value: true,
|
||||||
|
description: 'Whether to use gstreamers debugging API')
|
||||||
|
|||||||
Reference in New Issue
Block a user