mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
audioconvert: Fix compilation when debugging is disabled
Fixes bug #587980.
This commit is contained in:
parent
7e72ceb3f2
commit
fa0a5a667f
1 changed files with 19 additions and 15 deletions
|
@ -596,7 +596,6 @@ void
|
|||
gst_channel_mix_setup_matrix (AudioConvertCtx * this)
|
||||
{
|
||||
gint i, j;
|
||||
GString *s;
|
||||
|
||||
/* don't lose memory */
|
||||
gst_channel_mix_unset_matrix (this);
|
||||
|
@ -619,7 +618,10 @@ gst_channel_mix_setup_matrix (AudioConvertCtx * this)
|
|||
/* setup the matrix' internal values */
|
||||
gst_channel_mix_fill_matrix (this);
|
||||
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
/* debug */
|
||||
{
|
||||
GString *s;
|
||||
s = g_string_new ("Matrix for");
|
||||
g_string_append_printf (s, " %d -> %d: ",
|
||||
this->in.channels, this->out.channels);
|
||||
|
@ -638,6 +640,8 @@ gst_channel_mix_setup_matrix (AudioConvertCtx * this)
|
|||
g_string_append (s, " }");
|
||||
GST_DEBUG (s->str);
|
||||
g_string_free (s, TRUE);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
Loading…
Reference in a new issue