diff options
author | Dudemanguy <random342@airmail.cc> | 2023-10-11 15:10:00 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-16 15:38:59 +0000 |
commit | bb036c67f4708e2bc10e7a382e447d40681208b8 (patch) | |
tree | ca781456a4d189ae5390148510d92ed96761c5a5 | |
parent | 917bdf1b5c86312e9ee1edfaedb553f0dfe95dfc (diff) | |
download | mpv-bb036c67f4708e2bc10e7a382e447d40681208b8.tar.bz2 mpv-bb036c67f4708e2bc10e7a382e447d40681208b8.tar.xz |
test: change test_utils stubs to ns variants
The functions now internally use the ns timer and not the us one.
-rw-r--r-- | test/test_utils.c | 6 | ||||
-rw-r--r-- | test/test_utils.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/test_utils.c b/test/test_utils.c index 650e88d111..4bd97f30f8 100644 --- a/test/test_utils.c +++ b/test/test_utils.c @@ -108,8 +108,8 @@ void mp_write_console_ansi(void) {}; void mp_set_avdict(AVDictionary **dict, char **kv) {}; #ifndef WIN32_TESTS -void mp_time_us_add(void) {}; void mp_rel_time_to_timespec(void) {}; -void mp_time_us(void) {}; -void mp_time_us_to_realtime(void) {}; +void mp_time_ns(void) {}; +void mp_time_ns_add(void) {}; +void mp_time_ns_to_realtime(void) {}; #endif diff --git a/test/test_utils.h b/test/test_utils.h index 65202050eb..ac1dfb5d1d 100644 --- a/test/test_utils.h +++ b/test/test_utils.h @@ -59,8 +59,8 @@ void mp_set_avdict(AVDictionary **dict, char **kv); // import the real versions of these functions and use them. On other // platforms, these can just be stubs for simplicity. #ifndef WIN32_TESTS -void mp_time_us_add(void); void mp_rel_time_to_timespec(void); -void mp_time_us(void); -void mp_time_us_to_realtime(void); +void mp_time_ns(void); +void mp_time_ns_add(void); +void mp_time_ns_to_realtime(void); #endif |