diff options
author | wm4 <wm4@nowhere> | 2015-10-03 18:20:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-03 18:20:16 +0200 |
commit | 291f301c105ca989db6165108fd9dd1c57cde56d (patch) | |
tree | df9f106e86282f2978136dd6820fa76894ccae5f /player/playloop.c | |
parent | e448e10fd7768c509c528f9291d372fa9760919d (diff) | |
download | mpv-291f301c105ca989db6165108fd9dd1c57cde56d.tar.bz2 mpv-291f301c105ca989db6165108fd9dd1c57cde56d.tar.xz |
video/out: remove an unused parameter
This parameter has been unused for years (the last flag was removed in
commit d658b115). Get rid of it.
This affects the general VO API, as well as the vo_opengl backend API,
so it touches a lot of files.
The VOFLAGs are still used to control OpenGL context creation, so move
them to the OpenGL backend code.
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c index 1d382c69a1..2972593050 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -917,7 +917,7 @@ int handle_force_window(struct MPContext *mpctx, bool force) .w = w, .h = h, .d_w = w, .d_h = h, }; - if (vo_reconfig(vo, &p, 0) < 0) + if (vo_reconfig(vo, &p) < 0) goto err; vo_control(vo, VOCTRL_RESTORE_SCREENSAVER, NULL); vo_set_paused(vo, true); |