From 1ea145a9a1d6d7e548b3ef2021bd985b76240cd0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Jan 2020 19:58:31 +0100 Subject: player: make failure to load scripts non-fatal again Restore the behavior from a few commits ago. I decided that it's strange that this is fatal, since e.g. config file errors are also non-fatal. --- player/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/player/main.c b/player/main.c index 83ded7469a..6cb56ef601 100644 --- a/player/main.c +++ b/player/main.c @@ -433,8 +433,7 @@ int mp_initialize(struct MPContext *mpctx, char **options) MP_WARN(mpctx, "There will be no OSD and no text subtitles.\n"); #endif - if (!mp_load_scripts(mpctx)) - return -1; + mp_load_scripts(mpctx); if (opts->force_vo == 2 && handle_force_window(mpctx, false) < 0) return -1; -- cgit v1.2.3