test: print actual timestamp on failure
This commit is contained in:
parent
0667b1adf5
commit
ed1f02e2a1
@ -46,7 +46,8 @@ buffer_probe_cb (GstPad * pad, GstBuffer * buffer)
|
||||
{
|
||||
if (old_ts != GST_CLOCK_TIME_NONE) {
|
||||
fail_unless (GST_BUFFER_TIMESTAMP (buffer) != old_ts,
|
||||
"Two buffers had same timestamp");
|
||||
"Two buffers had same timestamp: %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (old_ts));
|
||||
}
|
||||
old_ts = GST_BUFFER_TIMESTAMP (buffer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user