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:
Edward Hervey 2025-01-05 12:12:54 +01:00 committed by GStreamer Marge Bot
parent fc5b616fca
commit 55319cbf32

View file

@ -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)