test: change test_utils stubs to ns variants

The functions now internally use the ns timer and not the us one.
This commit is contained in:
Dudemanguy 2023-10-11 15:10:00 -05:00
parent 917bdf1b5c
commit bb036c67f4
2 changed files with 6 additions and 6 deletions

View File

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

View File

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