mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
aggregator: Print the sinkpad name while logging latency queries
Very useful while debugging.
This commit is contained in:
parent
bbde713640
commit
b49805a840
1 changed files with 3 additions and 2 deletions
|
@ -1011,8 +1011,9 @@ _latency_query (GstAggregator * self, GstPad * pad, gpointer user_data)
|
||||||
if (res) {
|
if (res) {
|
||||||
gst_query_parse_latency (query, &live, &min, &max);
|
gst_query_parse_latency (query, &live, &min, &max);
|
||||||
|
|
||||||
GST_LOG_OBJECT (self, "got latency live:%s min:%" G_GINT64_FORMAT
|
GST_LOG_OBJECT (self, "%s: got latency live:%s min:%" G_GINT64_FORMAT
|
||||||
" max:%" G_GINT64_FORMAT, live ? "true" : "false", min, max);
|
" max:%" G_GINT64_FORMAT, GST_PAD_NAME (pad),
|
||||||
|
live ? "true" : "false", min, max);
|
||||||
|
|
||||||
if (min > data->min)
|
if (min > data->min)
|
||||||
data->min = min;
|
data->min = min;
|
||||||
|
|
Loading…
Reference in a new issue