Make the gst_tracer_record_log() a no-op if the gst-debug subsystem
is disabled.
return g_object_new (GST_TYPE_TRACER_RECORD, "spec", spec, NULL);
}
+#ifndef GST_DISABLE_GST_DEBUG
/**
* gst_tracer_record_log:
* @self: the tracer-record
}
va_end (var_args);
}
+#endif
GstTracerRecord * gst_tracer_record_new (GstStructure *spec);
+#ifndef GST_DISABLE_GST_DEBUG
void gst_tracer_record_log (GstTracerRecord *self, ...);
+#else
+#define gst_tracer_record_log(...) G_STMT_START {} G_STMT_END
+#endif
#endif