Commit 3ff18504 authored by Jan Schmidt's avatar Jan Schmidt

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.
parent e4e01609
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment