summaryrefslogtreecommitdiff
path: root/tests/icles/test-accurate-seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/icles/test-accurate-seek.c')
-rw-r--r--tests/icles/test-accurate-seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/icles/test-accurate-seek.c b/tests/icles/test-accurate-seek.c
index 9e9da104e..16e137d75 100644
--- a/tests/icles/test-accurate-seek.c
+++ b/tests/icles/test-accurate-seek.c
@@ -41,7 +41,7 @@ sample_to_nanotime (guint sample)
static guint
nanotime_to_sample (GstClockTime nanotime)
{
- return nanotime * SAMPLE_FREQ / GST_SECOND;
+ return gst_util_uint64_scale_round (nanotime, SAMPLE_FREQ, GST_SECOND);
}
static GstBuffer *