From 83fafbfbee19759485be7e1881dd03d250a1b5ee Mon Sep 17 00:00:00 2001 From: Attila Fidan Date: Mon, 29 Sep 2025 12:11:30 +0000 Subject: [PATCH] cplugin: init pfn_mpv_get_time_ns Fixes: fcebee9080a113f3248d218e451345db3f965b47 ("libmpv: add mpv_time_ns()") --- player/scripting.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player/scripting.c b/player/scripting.c index f5997d21b7..cb3257e1b4 100644 --- a/player/scripting.c +++ b/player/scripting.c @@ -331,6 +331,7 @@ static void init_sym_table(struct mp_script_args *args, void *lib) { INIT_SYM(mpv_create_client); INIT_SYM(mpv_create_weak_client); INIT_SYM(mpv_load_config_file); + INIT_SYM(mpv_get_time_ns); INIT_SYM(mpv_get_time_us); INIT_SYM(mpv_free_node_contents); INIT_SYM(mpv_set_option);