gst-plugins-base: define G_LOG_DOMAIN for all libraries

Fixes #634

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>
This commit is contained in:
Tim-Philipp Müller 2021-10-01 15:30:27 +01:00 committed by GStreamer Marge Bot
parent 16e7048d82
commit cf9be70946
12 changed files with 12 additions and 12 deletions

View file

@ -10,7 +10,7 @@ install_headers(gst_allocators_headers, subdir : 'gstreamer-1.0/gst/allocators/'
gst_allocators_sources = files([ 'gstdmabuf.c', 'gstfdmemory.c', 'gstphysmemory.c'])
gstallocators = library('gstallocators-@0@'.format(api_version),
gst_allocators_sources,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_ALLOCATORS'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_ALLOCATORS', '-DG_LOG_DOMAIN="GStreamer-Allocators"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -21,7 +21,7 @@ app_gen_sources = [gstapp_h]
gstapp = library('gstapp-@0@'.format(api_version),
app_sources, gstapp_h, gstapp_c,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_APP'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_APP', '-DG_LOG_DOMAIN="GStreamer-App"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -142,7 +142,7 @@ endif
gstaudio = library('gstaudio-@0@'.format(api_version),
audio_src, gstaudio_h, gstaudio_c, orc_c, orc_h,
c_args : gst_plugins_base_args + simd_cargs + ['-DBUILDING_GST_AUDIO'],
c_args : gst_plugins_base_args + simd_cargs + ['-DBUILDING_GST_AUDIO', '-DG_LOG_DOMAIN="GStreamer-Audio"'],
include_directories: [configinc, libsinc],
objects : simd_objects,
version : libversion,

View file

@ -27,7 +27,7 @@ install_headers(fft_headers, subdir : 'gstreamer-1.0/gst/fft/')
gstfft = library('gstfft-@0@'.format(api_version),
fft_sources,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_FFT'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_FFT', '-DG_LOG_DOMAIN="GStreamer-FFT"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -1029,7 +1029,7 @@ if build_gstgl
command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
gen_sources = [gl_enumtypes_h]
common_args = gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL']
common_args = gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL', '-DG_LOG_DOMAIN="GStreamer-GL"']
# We have custom_target() that generate headers in the current build dir,
# but with implicit_include_directories: false, meson >= 0.58.0 won't include

View file

@ -51,7 +51,7 @@ gstpbutils_h = pbutils_enums[1]
gstpbutils_deps = [video_dep, audio_dep, tag_dep]
pbutils = library('gstpbutils-@0@'.format(api_version),
pbutils_sources, gstpbutils_c, gstpbutils_h,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_PBUTILS'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_PBUTILS', '-DG_LOG_DOMAIN="GStreamer-PBUtils"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -16,7 +16,7 @@ install_headers(riff_headers, subdir : 'gstreamer-1.0/gst/riff/')
riff_deps = [audio_dep, tag_dep]
gstriff = library('gstriff-@0@'.format(api_version),
riff_sources,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RIFF'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RIFF', '-DG_LOG_DOMAIN="GStreamer-RIFF"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -37,7 +37,7 @@ gstrtp_enum_h = rtp_enums[1]
gstrtp_deps = [audio_dep, gst_base_dep]
gst_rtp = library('gstrtp-@0@'.format(api_version),
rtp_sources, gstrtp_enum_c, gstrtp_enum_h,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RTP'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RTP', '-DG_LOG_DOMAIN="GStreamer-RTP"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -42,7 +42,7 @@ gstrtsp_deps = [gst_base_dep, gst_dep, gio_dep, libm, winsock2]
gst_rtsp = library('gstrtsp-@0@'.format(api_version),
rtsp_sources,
gstrtsp_h, gstrtsp_c,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RTSP'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RTSP', '-DG_LOG_DOMAIN="GStreamer-RTSP"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -11,7 +11,7 @@ sdp_deps = [rtp_dep, gst_dep, gio_dep]
gst_sdp_sources = files(['gstsdpmessage.c', 'gstmikey.c'])
gstsdp = library('gstsdp-@0@'.format(api_version),
gst_sdp_sources,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_SDP'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_SDP', '-DG_LOG_DOMAIN="GStreamer-SDP"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -82,7 +82,7 @@ core_conf.set('HAVE_ZLIB', true)
tag_deps = [gst_base_dep, libm, zlib_dep]
gsttag = library('gsttag-@0@'.format(api_version),
tag_sources, gsttag_h, gsttag_c,
c_args : gst_plugins_base_args + gst_tag_args + ['-DBUILDING_GST_TAG'],
c_args : gst_plugins_base_args + gst_tag_args + ['-DBUILDING_GST_TAG', '-DG_LOG_DOMAIN="GStreamer-Tag"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,

View file

@ -133,7 +133,7 @@ endif
gstvideo = library('gstvideo-@0@'.format(api_version),
video_sources, gstvideo_h, gstvideo_c, orc_c, orc_h,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_VIDEO'],
c_args : gst_plugins_base_args + ['-DBUILDING_GST_VIDEO', '-DG_LOG_DOMAIN="GStreamer-Video"'],
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,