mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tracers: log: Fix post query trace
The post tracer hooks have a GstQuery argument which was truncated from the trace. As the post hook is the one that contains the useful data, this bug was hiding the important information from that trace.
This commit is contained in:
parent
8a8f2cebf4
commit
e1be065293
1 changed files with 7 additions and 6 deletions
|
@ -150,11 +150,12 @@ do_pad_query_pre (GstTracer * self, guint64 ts, GstPad * pad, GstQuery * query)
|
|||
}
|
||||
|
||||
static void
|
||||
do_pad_query_post (GstTracer * self, guint64 ts, GstPad * pad, gboolean res)
|
||||
do_pad_query_post (GstTracer * self, guint64 ts, GstPad * pad, GstQuery * query,
|
||||
gboolean res)
|
||||
{
|
||||
do_log (GST_CAT_QUERY, GST_FUNCTION, (GObject *) pad,
|
||||
"%" GST_TIME_FORMAT ", pad=%" GST_PTR_FORMAT ", res=%d",
|
||||
GST_TIME_ARGS (ts), pad, res);
|
||||
"%" GST_TIME_FORMAT ", pad=%" GST_PTR_FORMAT ", query=%" GST_PTR_FORMAT
|
||||
", res=%d", GST_TIME_ARGS (ts), pad, query, res);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -186,11 +187,11 @@ do_element_query_pre (GstTracer * self, guint64 ts, GstElement * elem,
|
|||
|
||||
static void
|
||||
do_element_query_post (GstTracer * self, guint64 ts, GstElement * elem,
|
||||
gboolean res)
|
||||
GstQuery * query, gboolean res)
|
||||
{
|
||||
do_log (GST_CAT_QUERY, GST_FUNCTION, (GObject *) elem,
|
||||
"%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", res=%d",
|
||||
GST_TIME_ARGS (ts), elem, res);
|
||||
"%" GST_TIME_FORMAT ", element=%" GST_PTR_FORMAT ", query=%"
|
||||
GST_PTR_FORMAT ", res=%d", GST_TIME_ARGS (ts), elem, query, res);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue