endif
endif
+disable_gst_debug = get_option('disable_gst_debug')
+if get_option('disable_gst_debug')
+ cdata.set('GST_DISABLE_GST_DEBUG_DEFINE', '#define GST_DISABLE_GST_DEBUG 1')
+ add_project_arguments(['-Wno-unused'], language: 'c')
+endif
+
configure_file(input : 'config.h.meson',
output : 'config.h',
configuration : cdata)
[ 'gst/gstobject.c' ],
[ 'gst/gstpad.c', not have_registry ],
[ 'gst/gstparamspecs.c' ],
- [ 'gst/gstprintf.c', not have_debug ],
+ [ 'gst/gstprintf.c', disable_gst_debug],
[ 'gst/gstpipeline.c', not have_registry ],
[ 'gst/gstpoll.c' ],
[ 'gst/gstplugin.c', not have_registry ],