mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
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:
parent
917bdf1b5c
commit
bb036c67f4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user