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:
parent
65f3c7453d
commit
1ea145a9a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user