check: Verify the DTS emerging from the parser, not PTS
PTS doesn't increment linearly in parsers with frame re-ordering, but
DTS does. Verify that instead.
diff --git a/tests/check/elements/parser.c b/tests/check/elements/parser.c
index 356b773..1e3fd0f 100644
--- a/tests/check/elements/parser.c
+++ b/tests/check/elements/parser.c
@@ -123,7 +123,7 @@
}
}
if (!vdata->no_metadata) {
- fail_unless (GST_BUFFER_TIMESTAMP (buffer) == vdata->ts_counter);
+ fail_unless (GST_BUFFER_DTS (buffer) == vdata->ts_counter);
fail_unless (GST_BUFFER_DURATION (buffer) != 0);
fail_unless (GST_BUFFER_OFFSET (buffer) == vdata->offset_counter);
}