projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e0160
)
check: Verify the DTS emerging from the parser, not PTS
author
Jan Schmidt
<thaytan@noraisin.net>
Thu, 13 Sep 2012 20:44:05 +0000
(13:44 -0700)
committer
Jan Schmidt
<thaytan@noraisin.net>
Thu, 13 Sep 2012 20:44:05 +0000
(13:44 -0700)
PTS doesn't increment linearly in parsers with frame re-ordering, but
DTS does. Verify that instead.
tests/check/elements/parser.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/parser.c
b/tests/check/elements/parser.c
index 356b7738b7e05822e45e9925fbe8735f6fec215c..1e3fd0f5f038f18bd27edddd4ca14bebed357c31 100644
(file)
--- 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);
}