From 788c0d220a65175411cb0e510df2df54c6941c81 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 4 Dec 2016 12:15:09 +0100 Subject: [PATCH] tracers/log: log messages in message category --- plugins/tracers/gstlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tracers/gstlog.c b/plugins/tracers/gstlog.c index e8ded21263..64a0d71af8 100644 --- a/plugins/tracers/gstlog.c +++ b/plugins/tracers/gstlog.c @@ -162,7 +162,7 @@ static void do_post_message_pre (GstTracer * self, guint64 ts, GstElement * elem, GstMessage * msg) { - do_log (GST_CAT_EVENT, + do_log (GST_CAT_MESSAGE, "%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", message=%" GST_PTR_FORMAT, GST_TIME_ARGS (ts), elem, msg); } @@ -171,7 +171,7 @@ static void do_post_message_post (GstTracer * self, guint64 ts, GstElement * elem, gboolean res) { - do_log (GST_CAT_EVENT, + do_log (GST_CAT_MESSAGE, "%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", res=%d", GST_TIME_ARGS (ts), elem, res); }