From b7034db4afcc0a90ff88fb422cd929b2c15f535d Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 15 Feb 2016 15:14:11 +0100 Subject: player: restore old/correct --force-window behavior When playback of a video ends, and the next file has no video at all (no cover art or anything), then the window must be cleared. This also resizes the window forcibly, which is by design. Fixes #2825. --- player/loadfile.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player/loadfile.c') diff --git a/player/loadfile.c b/player/loadfile.c index 1e3a02726d..bd48bb4b0e 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1321,6 +1321,9 @@ reopen_file: "Displaying attached picture. Use --no-audio-display to prevent this.\n"); } + if (!mpctx->vo_chain) + handle_force_window(mpctx, true); + MP_VERBOSE(mpctx, "Starting playback...\n"); mpctx->playback_initialized = true; -- cgit v1.2.3