2022-11-29 04:09:25 +08:00
|
|
|
diff --git a/subprojects/gst-plugins-base/meson.build b/subprojects/gst-plugins-base/meson.build
|
2024-09-17 03:26:09 +08:00
|
|
|
index 2c09e7b..e51f5a8 100644
|
2022-11-29 04:09:25 +08:00
|
|
|
--- a/subprojects/gst-plugins-base/meson.build
|
|
|
|
+++ b/subprojects/gst-plugins-base/meson.build
|
2024-09-17 03:26:09 +08:00
|
|
|
@@ -412,6 +412,7 @@ int32x4_t testfunc(int16_t *a, int16_t *b) {
|
2022-02-23 05:09:48 +08:00
|
|
|
endif
|
|
|
|
|
2024-09-17 03:26:09 +08:00
|
|
|
# Disable compiler warnings for unused variables and args if gst debug system is disabled
|
2022-02-23 05:09:48 +08:00
|
|
|
+build_system = build_machine.system()
|
|
|
|
if gst_dep.type_name() == 'internal'
|
2024-09-17 03:26:09 +08:00
|
|
|
gst_proj = subproject('gstreamer')
|
|
|
|
gst_debug_disabled = not gst_proj.get_variable('gst_debug')
|
|
|
|
@@ -421,7 +422,7 @@ else
|
|
|
|
gst_debug_disabled = cc.has_header_symbol('gst/gstconfig.h', 'GST_DISABLE_GST_DEBUG', dependencies: gst_dep)
|
|
|
|
endif
|
2022-02-23 05:09:48 +08:00
|
|
|
|
2024-09-17 03:26:09 +08:00
|
|
|
-if gst_debug_disabled
|
|
|
|
+if gst_debug_disabled and build_system != 'windows'
|
|
|
|
message('GStreamer debug system is disabled')
|
|
|
|
if cc.get_argument_syntax() == 'msvc'
|
|
|
|
msvc_args = cc.get_supported_arguments([
|