summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-20 17:58:02 +0200
committerwm4 <wm4@nowhere>2015-09-20 17:58:02 +0200
commit2f4e01e772e894c42021cf15d7d6961ff145ff7e (patch)
treebb47a39210702e516fb795cb1ce1adb705b7a40b /player/core.h
parent9d2bc9a4ac6d7e547a95d18204cd74efa40977c7 (diff)
downloadmpv-2f4e01e772e894c42021cf15d7d6961ff145ff7e.tar.bz2
mpv-2f4e01e772e894c42021cf15d7d6961ff145ff7e.tar.xz
player: make force-window in auto-profiles actually work
The previous commit was incomplete (and I didn't notice due to a broken test procedure). The annoying part is that actually creating the VO was separate; redo this and merge the code for this into handle_force_window() as well. This will also make implementing proper reaction to runtime option changes easier. (Only the part for actually listening to option changes is missing.)
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 6ac146624e..b2e94b1a37 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);
-void handle_force_window(struct MPContext *mpctx, bool reconfig);
+int handle_force_window(struct MPContext *mpctx, bool reconfig);
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);