summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index c6f0a17276..2b87dfd927 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -50,7 +50,7 @@
#include "demux/demux.h"
#include "stream/stream.h"
#include "sub/dec_sub.h"
-#include "sub/find_subfiles.h"
+#include "external_files.h"
#include "video/decode/dec_video.h"
#include "video/out/vo.h"
@@ -1072,6 +1072,8 @@ static void play_current_file(struct MPContext *mpctx)
mpctx->max_frames = opts->play_frames;
+ handle_force_window(mpctx, false);
+
MP_INFO(mpctx, "Playing: %s\n", mpctx->filename);
reopen_file: