mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 22:12:34 +00:00
tests/play: Fix debug statement
The interval is in milliseconds, convert to nanoseconds for debugging statement Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
fc5b616fca
commit
55319cbf32
1 changed files with 1 additions and 1 deletions
|
@ -1427,7 +1427,7 @@ test_play_position_update_interval_cb (GstPlay * player,
|
|||
GstClockTime delta = GST_CLOCK_DIFF (old_state->last_position, position);
|
||||
GST_DEBUG_OBJECT (player,
|
||||
"current delta: %" GST_TIME_FORMAT " interval: %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (delta), GST_TIME_ARGS (update_interval));
|
||||
GST_TIME_ARGS (delta), GST_TIME_ARGS (update_interval * GST_MSECOND));
|
||||
|
||||
if (update_interval > 10) {
|
||||
fail_unless (delta > ((update_interval - 10) * GST_MSECOND)
|
||||
|
|
Loading…
Reference in a new issue