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
1 changed files with 2 additions and 1 deletions

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