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 /video/out/vo_drm.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 'video/out/vo_drm.c')
-rw-r--r-- | video/out/vo_drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c index f853b90dc6..0b60b8eeef 100644 --- a/video/out/vo_drm.c +++ b/video/out/vo_drm.c @@ -450,7 +450,7 @@ static void wakeup(struct vo *vo) vt_switcher_interrupt_poll(&p->vt_switcher); } -static int reconfig(struct vo *vo, struct mp_image_params *params, int flags) +static int reconfig(struct vo *vo, struct mp_image_params *params) { struct priv *p = vo->priv; @@ -640,7 +640,7 @@ static int control(struct vo *vo, uint32_t request, void *data) return VO_TRUE; case VOCTRL_SET_PANSCAN: if (vo->config_ok) - reconfig(vo, vo->params, 0); + reconfig(vo, vo->params); return VO_TRUE; } return VO_NOTIMPL; |