summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 19f8971f38..baedfbbcb7 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1809,7 +1809,7 @@ void mp_play_files(struct MPContext *mpctx)
uninit_video_out(mpctx);
if (!encode_lavc_free(mpctx->encode_lavc_ctx))
- mpctx->stop_play = PT_ERROR;
+ mpctx->files_errored += 1;
mpctx->encode_lavc_ctx = NULL;
}