From 3ff18504fc55478a1b8b42fda38764c524296783 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 13 Sep 2012 13:44:05 -0700 Subject: 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. --- tests/check/elements/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/check/elements/parser.c b/tests/check/elements/parser.c index 356b7738b..1e3fd0f5f 100644 --- a/tests/check/elements/parser.c +++ b/tests/check/elements/parser.c @@ -123,7 +123,7 @@ buffer_verify_data (void *buffer, void *user_data) } } 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); } -- cgit v1.2.1