diff --git a/plugins/sip/calls-sip-media-pipeline.c b/plugins/sip/calls-sip-media-pipeline.c index 9701f50..0d2d3ab 100644 --- a/plugins/sip/calls-sip-media-pipeline.c +++ b/plugins/sip/calls-sip-media-pipeline.c @@ -159,7 +159,8 @@ bus_cb (GstBus *bus, } default: - g_debug ("Got unhandled %s message", GST_MESSAGE_TYPE_NAME (message)); + if (pipeline->debug) + g_debug ("Got unhandled %s message", GST_MESSAGE_TYPE_NAME (message)); break; }