Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>
install: true,
include_directories : inc_dirs,
dependencies : validate_dep,
- c_args : [gst_c_args],
+ c_args : [gst_c_args] + ['-DG_LOG_DOMAIN="gst-validate-@0@"'.format(apiversion)],
)
gst_transcoder_dep = dependency('gstreamer-transcoder-' + apiversion, version : gst_req,
install: true,
include_directories : inc_dirs,
dependencies : [validate_dep, gst_transcoder_dep],
- c_args : [gst_c_args],
+ c_args : [gst_c_args] + ['-DG_LOG_DOMAIN="gst-validate-transcoding-@0@"'.format(apiversion)],
)
else
warning('Can not build gst-validate-transcoding-' + apiversion)
install: true,
include_directories : inc_dirs,
dependencies : validate_dep,
- c_args : [gst_c_args],
+ c_args : [gst_c_args] + ['-DG_LOG_DOMAIN="gst-validate-media-check-@0@"'.format(apiversion)],
)
rtsp_server_dep = dependency('gstreamer-rtsp-server-' + apiversion,
install: true,
include_directories: inc_dirs,
dependencies : [rtsp_server_dep, validate_dep],
- c_args: [gst_c_args],
+ c_args: [gst_c_args] + ['-DG_LOG_DOMAIN="gst-validate-rtsp-server-@0@"'.format(apiversion)],
)
endif
install: true,
include_directories : inc_dirs,
dependencies : [validate_dep, validate_video_dep],
- c_args : [gst_c_args]
+ c_args : [gst_c_args] + ['-DG_LOG_DOMAIN="gst-validate-images-check-@0@"'.format(apiversion)]
)
endif
deps = [ges_dep, gstpbutils_dep, gio_dep, gstvideo_dep, gstaudio_dep]
-ges_tool_args = [ges_c_args]
+ges_tool_args = [ges_c_args, '-UG_LOG_DOMAIN']
if gstvalidate_dep.found()
deps = deps + [gstvalidate_dep]
ges_tool_args += ['-DGST_USE_UNSTABLE_API']
ges_launch = executable('ges-launch-@0@'.format(apiversion),
'ges-validate.c', 'ges-launch.c', 'ges-launcher.c', 'utils.c', 'ges-launcher-kb.c',
- c_args : [ges_tool_args],
+ c_args : [ges_tool_args] + ['-DG_LOG_DOMAIN="ges-launch-@0@"'.format(apiversion)],
dependencies : deps,
install: true
)
'gst-transcoder.c', 'utils.c',
install : true,
dependencies : [gst_dep, gstpbutils_dep, gst_transcoder_dep],
+ c_args: ['-DG_LOG_DOMAIN="gst-transcoder-@0@"'.format(api_version)],
)
executable('gst-device-monitor-@0@'.format(api_version),
'gst-device-monitor.c',
install: true,
- c_args : gst_plugins_base_args,
+ c_args : gst_plugins_base_args + ['-DG_LOG_DOMAIN="gst-device-monitor-@0@"'.format(api_version)],
include_directories: [configinc],
dependencies : tool_deps,
)
executable('gst-discoverer-@0@'.format(api_version),
'gst-discoverer.c',
install: true,
- c_args : gst_plugins_base_args,
+ c_args : gst_plugins_base_args + ['-DG_LOG_DOMAIN="gst-discoverer-@0@"'.format(api_version)],
include_directories: [configinc],
dependencies : tool_deps,
)
executable('gst-play-@0@'.format(api_version),
'gst-play.c', 'gst-play-kb.c',
install: true,
- c_args : gst_plugins_base_args,
+ c_args : gst_plugins_base_args + ['-DG_LOG_DOMAIN="gst-play-@0@"'.format(api_version)],
include_directories: [configinc],
dependencies : tool_deps + [libm],
)
install: true,
include_directories : [configinc],
dependencies : [glib_dep, gobject_dep, gmodule_dep, mathlib, gst_dep] + extra_deps,
- c_args: gst_c_args + extra_c_args,
+ c_args: gst_c_args + extra_c_args + ['-DG_LOG_DOMAIN="@0@"'.format(exe_name)],
)
man_page = '@0@-1.0.1'.format(tool)