summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-21 21:22:20 +0200
committerwm4 <wm4@nowhere>2015-09-21 21:22:20 +0200
commitab7ac46bcc3bb68cfa3d4dfc920f8bd7143eebe0 (patch)
tree1d59f489c0d768ae549af4cc63fed0843c1e13b8 /player/core.h
parent7a19eb490e3e2b525acd54e774217c64f6df41d9 (diff)
downloadmpv-ab7ac46bcc3bb68cfa3d4dfc920f8bd7143eebe0.tar.bz2
mpv-ab7ac46bcc3bb68cfa3d4dfc920f8bd7143eebe0.tar.xz
player: some more --force-window fixes
Sigh... After the recent changes, another regression appeared. This time, the VO window wasn't cleared when changing from video to a non- video file (such as audio-only with no cover art). Fix this by properly taking the handle_force_window() bool parameter into account. Also, the info message could be printed twice, which is harmless but ugly. So just remove the message. Also, do some more minor cleanups (like fixing the comment, which was completely outdated).
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index b2e94b1a37..eae7d545d2 100644
--- a/player/core.h
+++ b/player/core.h
@@ -488,7 +488,7 @@ void execute_queued_seek(struct MPContext *mpctx);
void run_playloop(struct MPContext *mpctx);
void mp_idle(struct MPContext *mpctx);
void idle_loop(struct MPContext *mpctx);
-int handle_force_window(struct MPContext *mpctx, bool reconfig);
+int handle_force_window(struct MPContext *mpctx, bool force);
void add_frame_pts(struct MPContext *mpctx, double pts);
int get_past_frame_durations(struct MPContext *mpctx, double *fd, int num);
void seek_to_last_frame(struct MPContext *mpctx);