ext/alsa/gstalsaplugin.c: Disable call to gst_debug_log() if debugging is disabled (bug #145118)
Original commit message from CVS: * ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper): Disable call to gst_debug_log() if debugging is disabled (bug #145118)
This commit is contained in:
parent
ab7738c8d1
commit
a0dd75c692
@ -1,3 +1,8 @@
|
|||||||
|
2004-07-03 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper): Disable
|
||||||
|
call to gst_debug_log() if debugging is disabled (bug #145118)
|
||||||
|
|
||||||
2004-07-03 Benjamin Otte <otte@gnome.org>
|
2004-07-03 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
|
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
|
||||||
|
@ -34,6 +34,7 @@ static void
|
|||||||
gst_alsa_error_wrapper (const char *file, int line, const char *function,
|
gst_alsa_error_wrapper (const char *file, int line, const char *function,
|
||||||
int err, const char *fmt, ...)
|
int err, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
va_list args;
|
va_list args;
|
||||||
gchar *str;
|
gchar *str;
|
||||||
|
|
||||||
@ -47,6 +48,7 @@ gst_alsa_error_wrapper (const char *file, int line, const char *function,
|
|||||||
"alsalib error: %s%s%s", str, err ? ": " : "",
|
"alsalib error: %s%s%s", str, err ? ": " : "",
|
||||||
err ? snd_strerror (err) : "");
|
err ? snd_strerror (err) : "");
|
||||||
g_free (str);
|
g_free (str);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user