From f81ae9c3fc45886da45e6ae5fe90e5125a9e9bee Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 21 Mar 2018 14:49:32 +0100 Subject: [PATCH] player: don't print error if aborted while loading external files --- player/loadfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/player/loadfile.c b/player/loadfile.c index 519e841ac7..5c741369c0 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -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; }