1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 19:52:14 +00:00

player: don't print error if aborted while loading external files

This commit is contained in:
wm4 2018-03-21 14:49:32 +01:00
parent 7d10728aaa
commit f81ae9c3fc

View File

@ -642,7 +642,8 @@ int mp_add_external_file(struct MPContext *mpctx, char *filename,
return first_num;
err_out:
MP_ERR(mpctx, "Can not open external file %s.\n", disp_filename);
if (!mp_cancel_test(mpctx->playback_abort))
MP_ERR(mpctx, "Can not open external file %s.\n", disp_filename);
return -1;
}