projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbde713
)
aggregator: Print the sinkpad name while logging latency queries
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Fri, 26 Dec 2014 22:51:26 +0000
(
04:21
+0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000
(15:10 +0000)
Very useful while debugging.
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index
6a3796f
..
8a27eef
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-1011,8
+1011,9
@@
_latency_query (GstAggregator * self, GstPad * pad, gpointer user_data)
if (res) {
gst_query_parse_latency (query, &live, &min, &max);
- GST_LOG_OBJECT (self, "got latency live:%s min:%" G_GINT64_FORMAT
- " max:%" G_GINT64_FORMAT, live ? "true" : "false", min, max);
+ GST_LOG_OBJECT (self, "%s: got latency live:%s min:%" G_GINT64_FORMAT
+ " max:%" G_GINT64_FORMAT, GST_PAD_NAME (pad),
+ live ? "true" : "false", min, max);
if (min > data->min)
data->min = min;