diff options
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/player/main.c b/player/main.c index 097e51e11c..8c5e90a0d7 100644 --- a/player/main.c +++ b/player/main.c @@ -61,7 +61,6 @@ #include "core.h" #include "client.h" -#include "lua.h" #include "command.h" #include "screenshot.h" @@ -450,11 +449,9 @@ int mp_initialize(struct MPContext *mpctx) mpctx->initialized_flags |= INITIALIZED_VO; } -#if HAVE_LUA - // Lua user scripts can call arbitrary functions. Load them at a point + // Lua user scripts (etc.) can call arbitrary functions. Load them at a point // where this is safe. - mp_lua_init(mpctx); -#endif + mp_load_scripts(mpctx); if (opts->shuffle) playlist_shuffle(mpctx->playlist); |