mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst-plugins-bad: 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:
parent
cf9be70946
commit
be3b71d6c9
21 changed files with 24 additions and 20 deletions
|
@ -4,7 +4,7 @@ adaptivedemux_headers = files('gstadaptivedemux.h')
|
||||||
pkg_name = 'gstreamer-adaptivedemux-1.0'
|
pkg_name = 'gstreamer-adaptivedemux-1.0'
|
||||||
gstadaptivedemux = library('gstadaptivedemux-' + api_version,
|
gstadaptivedemux = library('gstadaptivedemux-' + api_version,
|
||||||
adaptivedemux_sources,
|
adaptivedemux_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_ADAPTIVE_DEMUX'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_ADAPTIVE_DEMUX', '-DG_LOG_DOMAIN="GStreamer-AdaptiveDemux"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -5,7 +5,7 @@ install_headers(badaudio_headers, subdir : 'gstreamer-1.0/gst/audio')
|
||||||
|
|
||||||
gstbadaudio = library('gstbadaudio-' + api_version,
|
gstbadaudio = library('gstbadaudio-' + api_version,
|
||||||
badaudio_sources,
|
badaudio_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_AUDIO_BAD'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_AUDIO_BAD', '-DG_LOG_DOMAIN="GStreamer-AudioBad"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -13,7 +13,7 @@ install_headers(camerabin_headers, subdir : 'gstreamer-1.0/gst/basecamerabinsrc'
|
||||||
|
|
||||||
gstbasecamerabin = library('gstbasecamerabinsrc-' + api_version,
|
gstbasecamerabin = library('gstbasecamerabinsrc-' + api_version,
|
||||||
camerabin_sources,
|
camerabin_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_BASE_CAMERA_BIN_SRC'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_BASE_CAMERA_BIN_SRC', '-DG_LOG_DOMAIN="GStreamer-BaseCameraBinSrc"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -37,6 +37,7 @@ install_headers(codecparser_headers, subdir : 'gstreamer-1.0/gst/codecparsers')
|
||||||
cp_args = [
|
cp_args = [
|
||||||
'-DGST_USE_UNSTABLE_API',
|
'-DGST_USE_UNSTABLE_API',
|
||||||
'-DBUILDING_GST_CODEC_PARSERS',
|
'-DBUILDING_GST_CODEC_PARSERS',
|
||||||
|
'-DG_LOG_DOMAIN="GStreamer-CodecParsers"',
|
||||||
'-Dvp8_norm=gst_codecparsers_vp8_norm',
|
'-Dvp8_norm=gst_codecparsers_vp8_norm',
|
||||||
'-Dvp8dx_start_decode=gst_codecparsers_vp8dx_start_decode',
|
'-Dvp8dx_start_decode=gst_codecparsers_vp8dx_start_decode',
|
||||||
'-Dvp8dx_bool_decoder_fill=gst_codecparsers_vp8dx_bool_decoder_fill',
|
'-Dvp8dx_bool_decoder_fill=gst_codecparsers_vp8dx_bool_decoder_fill',
|
||||||
|
|
|
@ -33,6 +33,7 @@ codecs_headers = files(
|
||||||
cp_args = [
|
cp_args = [
|
||||||
'-DGST_USE_UNSTABLE_API',
|
'-DGST_USE_UNSTABLE_API',
|
||||||
'-DBUILDING_GST_CODECS',
|
'-DBUILDING_GST_CODECS',
|
||||||
|
'-DG_LOG_DOMAIN="GStreamer-Codecs"'
|
||||||
]
|
]
|
||||||
|
|
||||||
gstcodecs = library('gstcodecs-' + api_version,
|
gstcodecs = library('gstcodecs-' + api_version,
|
||||||
|
|
|
@ -36,7 +36,8 @@ extra_c_args = [
|
||||||
]
|
]
|
||||||
extra_comm_args = [
|
extra_comm_args = [
|
||||||
'-DGST_USE_UNSTABLE_API',
|
'-DGST_USE_UNSTABLE_API',
|
||||||
'-DBUILDING_GST_D3D11'
|
'-DBUILDING_GST_D3D11',
|
||||||
|
'-DG_LOG_DOMAIN="GStreamer-D3D11"',
|
||||||
]
|
]
|
||||||
|
|
||||||
have_dxgi_header = false
|
have_dxgi_header = false
|
||||||
|
|
|
@ -4,7 +4,7 @@ install_headers(insert_headers, subdir : 'gstreamer-1.0/gst/insertbin')
|
||||||
|
|
||||||
gstinsertbin = library('gstinsertbin-' + api_version,
|
gstinsertbin = library('gstinsertbin-' + api_version,
|
||||||
insert_sources,
|
insert_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_INSERT_BIN'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_INSERT_BIN', '-DG_LOG_DOMAIN="GStreamer-InsertBin"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -16,7 +16,7 @@ photoenum_h = photo_enums[1]
|
||||||
pkg_name = 'gstreamer-photography-1.0'
|
pkg_name = 'gstreamer-photography-1.0'
|
||||||
gstphotography = library('gstphotography-' + api_version,
|
gstphotography = library('gstphotography-' + api_version,
|
||||||
photography_sources, photoenum_h, photoenum_c,
|
photography_sources, photoenum_h, photoenum_c,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_PHOTOGRAPHY'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_PHOTOGRAPHY', '-DG_LOG_DOMAIN="GStreamer-Photography"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -8,7 +8,7 @@ install_headers(isoff_headers, subdir : 'gstreamer-1.0/gst/isoff')
|
||||||
|
|
||||||
gstisoff = library('gstisoff-' + api_version,
|
gstisoff = library('gstisoff-' + api_version,
|
||||||
isoff_sources,
|
isoff_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_ISOFF'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_ISOFF', '-DG_LOG_DOMAIN="GStreamer-ISOFF"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -37,7 +37,7 @@ gen_sources = [mpegtsenumtypes_h]
|
||||||
|
|
||||||
gstmpegts = library('gstmpegts-' + api_version,
|
gstmpegts = library('gstmpegts-' + api_version,
|
||||||
mpegts_sources, mpegts_enums,
|
mpegts_sources, mpegts_enums,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_MPEGTS'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_MPEGTS', '-DG_LOG_DOMAIN="GStreamer-MpegTS"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -29,7 +29,7 @@ if opencv_dep.found()
|
||||||
gstopencv = library('gstopencv-' + api_version,
|
gstopencv = library('gstopencv-' + api_version,
|
||||||
opencv_sources,
|
opencv_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_OPENCV'],
|
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_OPENCV'],
|
||||||
cpp_args : gst_plugins_bad_args + gstopencv_cargs + ['-DBUILDING_GST_OPENCV'],
|
cpp_args : gst_plugins_bad_args + gstopencv_cargs + ['-DBUILDING_GST_OPENCV', '-DG_LOG_DOMAIN="GStreamer-OpenCV"'],
|
||||||
override_options : ['cpp_std=c++11'],
|
override_options : ['cpp_std=c++11'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
|
|
|
@ -23,7 +23,7 @@ install_headers(gstplay_headers, subdir : 'gstreamer-' + api_version + '/gst/pla
|
||||||
|
|
||||||
gstplay = library('gstplay-' + api_version,
|
gstplay = library('gstplay-' + api_version,
|
||||||
gstplay_sources,
|
gstplay_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_PLAY'],
|
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_PLAY', '-DG_LOG_DOMAIN="GStreamer-Play"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -26,7 +26,7 @@ install_headers(gstplayer_headers, subdir : 'gstreamer-' + api_version + '/gst/p
|
||||||
|
|
||||||
gstplayer = library('gstplayer-' + api_version,
|
gstplayer = library('gstplayer-' + api_version,
|
||||||
gstplayer_sources,
|
gstplayer_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_PLAYER'],
|
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_PLAYER', '-DG_LOG_DOMAIN="GStreamer-Player"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -13,7 +13,7 @@ install_headers(sctp_headers, subdir : 'gstreamer-1.0/gst/sctp')
|
||||||
|
|
||||||
libgstsctp = library('gstsctp-' + api_version,
|
libgstsctp = library('gstsctp-' + api_version,
|
||||||
sctp_sources,
|
sctp_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_SCTP'],
|
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_SCTP', '-DG_LOG_DOMAIN="GStreamer-SCTP"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -21,7 +21,7 @@ gst_transcoder = library('gsttranscoder-' + api_version,
|
||||||
install: true,
|
install: true,
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
dependencies: [gst_dep, gstpbutils_dep],
|
dependencies: [gst_dep, gstpbutils_dep],
|
||||||
c_args: gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_TRANSCODER'],
|
c_args: gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_TRANSCODER', '-DG_LOG_DOMAIN="GStreamer-Transcoder"'],
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ install_headers(urid_headers, subdir : 'gstreamer-1.0/gst/uridownloader')
|
||||||
pkg_name = 'gstreamer-downloader-1.0'
|
pkg_name = 'gstreamer-downloader-1.0'
|
||||||
gsturidownloader = library('gsturidownloader-' + api_version,
|
gsturidownloader = library('gsturidownloader-' + api_version,
|
||||||
urid_sources,
|
urid_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_URI_DOWNLOADER'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_URI_DOWNLOADER', '-DG_LOG_DOMAIN="GStreamer-UriDownloader"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -37,7 +37,7 @@ cdata.set10('HAVE_LIBDRM', libdrm_dep.found())
|
||||||
|
|
||||||
gstva = library('gstva-' + api_version,
|
gstva = library('gstva-' + api_version,
|
||||||
va_sources,
|
va_sources,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_VA'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_VA', '-DG_LOG_DOMAIN="GStreamer-VA"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -311,8 +311,8 @@ gen_sources += [vulkan_enumtypes_h]
|
||||||
|
|
||||||
gstvulkan = library('gstvulkan-' + api_version,
|
gstvulkan = library('gstvulkan-' + api_version,
|
||||||
vulkan_sources, vulkan_priv_sources, vulkan_wayland_sources, vulkan_xcb_sources, vulkan_enumtypes_c, vulkan_enumtypes_h,
|
vulkan_sources, vulkan_priv_sources, vulkan_wayland_sources, vulkan_xcb_sources, vulkan_enumtypes_c, vulkan_enumtypes_h,
|
||||||
c_args : gst_plugins_bad_args + vulkan_defines + ['-DBUILDING_GST_VULKAN'],
|
c_args : gst_plugins_bad_args + vulkan_defines + ['-DBUILDING_GST_VULKAN', '-DG_LOG_DOMAIN="GStreamer-Vulkan"'],
|
||||||
objc_args : gst_plugins_bad_args + vulkan_defines + vulkan_objc_args + ['-DBUILDING_GST_VULKAN'],
|
objc_args : gst_plugins_bad_args + vulkan_defines + vulkan_objc_args + ['-DBUILDING_GST_VULKAN', '-DG_LOG_DOMAIN="GStreamer-Vulkan"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -9,7 +9,7 @@ use_wayland = wl_protocol_dep.found() and wl_client_dep.found() and wl_scanner.f
|
||||||
if use_wayland
|
if use_wayland
|
||||||
gstwayland = library('gstwayland-' + api_version,
|
gstwayland = library('gstwayland-' + api_version,
|
||||||
'wayland.c',
|
'wayland.c',
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_WAYLAND'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_WAYLAND', '-DG_LOG_DOMAIN="GStreamer-Wayland"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -46,7 +46,7 @@ gstwebrtc_dependencies = [gstbase_dep, gstsdp_dep]
|
||||||
|
|
||||||
gstwebrtc = library('gstwebrtc-' + api_version,
|
gstwebrtc = library('gstwebrtc-' + api_version,
|
||||||
webrtc_sources, gstwebrtc_c, gstwebrtc_h,
|
webrtc_sources, gstwebrtc_c, gstwebrtc_h,
|
||||||
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_WEBRTC'],
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_WEBRTC', '-DG_LOG_DOMAIN="GStreamer-WebRTC"'],
|
||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
soversion : soversion,
|
soversion : soversion,
|
||||||
|
|
|
@ -9,7 +9,8 @@ extra_c_args = [
|
||||||
]
|
]
|
||||||
extra_comm_args = [
|
extra_comm_args = [
|
||||||
'-DGST_USE_UNSTABLE_API',
|
'-DGST_USE_UNSTABLE_API',
|
||||||
'-DBUILDING_GST_WINRT'
|
'-DBUILDING_GST_WINRT',
|
||||||
|
'-DG_LOG_DOMAIN="GStreamer-WinRT"'
|
||||||
]
|
]
|
||||||
|
|
||||||
if host_system != 'windows'
|
if host_system != 'windows'
|
||||||
|
|
Loading…
Reference in a new issue