diff options
author | wm4 <wm4@nowhere> | 2020-01-20 19:58:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-01-20 19:58:51 +0100 |
commit | 1ea145a9a1d6d7e548b3ef2021bd985b76240cd0 (patch) | |
tree | 9f3f7874d1eff341b437dffa87fa6249c982ee51 /player | |
parent | 65f3c7453d3994524f3f837718362092c3efc483 (diff) | |
download | mpv-1ea145a9a1d6d7e548b3ef2021bd985b76240cd0.tar.bz2 mpv-1ea145a9a1d6d7e548b3ef2021bd985b76240cd0.tar.xz |
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.
Diffstat (limited to 'player')
-rw-r--r-- | player/main.c | 3 |
1 files changed, 1 insertions, 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; |