1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

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.
This commit is contained in:
wm4 2020-01-20 19:58:31 +01:00
parent 65f3c7453d
commit 1ea145a9a1

View File

@ -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;