mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests: GstClockTime is always >= 0
This commit is contained in:
parent
e31a7709c3
commit
697055b3e4
1 changed files with 2 additions and 2 deletions
|
@ -342,8 +342,8 @@ GST_START_TEST (test_base_time)
|
||||||
fail_unless (observed <= stream, "timestamps outrun stream time: %"
|
fail_unless (observed <= stream, "timestamps outrun stream time: %"
|
||||||
GST_TIME_FORMAT " > %" GST_TIME_FORMAT,
|
GST_TIME_FORMAT " > %" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (observed), GST_TIME_ARGS (stream));
|
GST_TIME_ARGS (observed), GST_TIME_ARGS (stream));
|
||||||
fail_unless (observed >= 0, "early timestamp: %" GST_TIME_FORMAT " < %"
|
fail_unless (observed != GST_CLOCK_TIME_NONE, "early timestamp: %"
|
||||||
GST_TIME_FORMAT, GST_TIME_ARGS (observed),
|
GST_TIME_FORMAT " < %" GST_TIME_FORMAT, GST_TIME_ARGS (observed),
|
||||||
GST_TIME_ARGS (lower - base));
|
GST_TIME_ARGS (lower - base));
|
||||||
fail_unless (observed <= upper - base,
|
fail_unless (observed <= upper - base,
|
||||||
"late timestamp: %" GST_TIME_FORMAT " > %" GST_TIME_FORMAT,
|
"late timestamp: %" GST_TIME_FORMAT " > %" GST_TIME_FORMAT,
|
||||||
|
|
Loading…
Reference in a new issue