diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2012-09-13 13:44:05 -0700 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2012-09-13 13:44:05 -0700 |
commit | 3ff18504fc55478a1b8b42fda38764c524296783 (patch) | |
tree | 3289f96693463d5d7aec36589e994565632c7d89 /tests | |
parent | e4e016097a489e3c82eb2252c75c707cab6517fd (diff) | |
download | gstreamer-plugins-bad-3ff18504fc55478a1b8b42fda38764c524296783.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |