sip: pipeline: Only inform of unhandled bus massages when debugging

These messages are mainly useful for development. This part will be rewritten
once we introduce structured logging. For the moment this will just add noise.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-04-11 01:48:58 +02:00
parent 166ea8b21a
commit 765cd2ebb9

View File

@@ -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;
}