summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-07-20 23:15:55 +0200
committerStefan Kost <ensonic@users.sf.net>2011-07-20 23:15:55 +0200
commit8d8c5dceb04f1680c1ebc63441c5acf75170e64f (patch)
tree92b1f6044f97fad95851a676e00c1fea630a89f2
parent88af6fc33b0eba8f32e6a2a794899f1c34828f3f (diff)
tracelib: record ts also in no_stats as we need it to log scheduling
-rw-r--r--src/gsttracelib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gsttracelib.c b/src/gsttracelib.c
index d114157..11e6510 100644
--- a/src/gsttracelib.c
+++ b/src/gsttracelib.c
@@ -1139,6 +1139,8 @@ gst_pad_push (GstPad *pad, GstBuffer *buffer)
if(!gsttl_no_stats) {
_do_pad_stats(pad, stats, buffer, elapsed1);
_do_transmission_stats(pad, buffer, elapsed1);
+ } else {
+ stats->last_ts = elapsed1;
}
_log_common (elapsed1);
@@ -1202,6 +1204,8 @@ gst_pad_pull_range (GstPad * pad, guint64 offset, guint size, GstBuffer ** buffe
_do_transmission_stats(pad, *buffer, elapsed2);
}
_do_element_stats(pad, elapsed1, elapsed2);
+ } else {
+ stats->last_ts = elapsed1;
}
return ret;
}