diff --git a/player/loadfile.c b/player/loadfile.c index 8ba54d1e6f..58a60faaca 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -821,7 +821,7 @@ void autoload_external_files(struct MPContext *mpctx, struct mp_cancel *cancel) { if (mpctx->opts->sub_auto < 0 && mpctx->opts->audiofile_auto < 0) return; - if (!mpctx->opts->autoload_files) + if (!mpctx->opts->autoload_files || strcmp(mpctx->filename, "-") == 0) return; void *tmp = talloc_new(NULL);