summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c
index 11fe86bdfc..eaf91c45a8 100644
--- a/player/client.c
+++ b/player/client.c
@@ -24,6 +24,7 @@
#include "options/m_option.h"
#include "options/m_property.h"
#include "osdep/threads.h"
+#include "osdep/timer.h"
#include "command.h"
#include "core.h"
@@ -992,3 +993,8 @@ void mpv_free(void *data)
{
talloc_free(data);
}
+
+int64_t mpv_get_time_us(mpv_handle *ctx)
+{
+ return mp_time_us();
+}