mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
tracers/log: log messages in message category
This commit is contained in:
parent
598cfc28e6
commit
788c0d220a
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ static void
|
||||||
do_post_message_pre (GstTracer * self, guint64 ts, GstElement * elem,
|
do_post_message_pre (GstTracer * self, guint64 ts, GstElement * elem,
|
||||||
GstMessage * msg)
|
GstMessage * msg)
|
||||||
{
|
{
|
||||||
do_log (GST_CAT_EVENT,
|
do_log (GST_CAT_MESSAGE,
|
||||||
"%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", message=%"
|
"%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", message=%"
|
||||||
GST_PTR_FORMAT, GST_TIME_ARGS (ts), elem, msg);
|
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,
|
do_post_message_post (GstTracer * self, guint64 ts, GstElement * elem,
|
||||||
gboolean res)
|
gboolean res)
|
||||||
{
|
{
|
||||||
do_log (GST_CAT_EVENT,
|
do_log (GST_CAT_MESSAGE,
|
||||||
"%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", res=%d",
|
"%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", res=%d",
|
||||||
GST_TIME_ARGS (ts), elem, res);
|
GST_TIME_ARGS (ts), elem, res);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue