mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
aggregator: Log to the pad instead of the element
More correct way of doing the same thing as before
This commit is contained in:
parent
8da3d1e596
commit
ced334d397
1 changed files with 2 additions and 3 deletions
|
@ -1009,9 +1009,8 @@ _latency_query (GstAggregator * self, GstPad * pad, gpointer user_data)
|
|||
if (res) {
|
||||
gst_query_parse_latency (query, &live, &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);
|
||||
GST_LOG_OBJECT (pad, "got latency live:%s min:%" G_GINT64_FORMAT
|
||||
" max:%" G_GINT64_FORMAT, live ? "true" : "false", min, max);
|
||||
|
||||
if (min != GST_CLOCK_TIME_NONE && min > data->min)
|
||||
data->min = min;
|
||||
|
|
Loading…
Reference in a new issue