mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
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.
This commit is contained in:
parent
e4e016097a
commit
3ff18504fc
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ buffer_verify_data (void *buffer, void *user_data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!vdata->no_metadata) {
|
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_DURATION (buffer) != 0);
|
||||||
fail_unless (GST_BUFFER_OFFSET (buffer) == vdata->offset_counter);
|
fail_unless (GST_BUFFER_OFFSET (buffer) == vdata->offset_counter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue