summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-03 18:20:16 +0200
committerwm4 <wm4@nowhere>2015-10-03 18:20:16 +0200
commit291f301c105ca989db6165108fd9dd1c57cde56d (patch)
treedf9f106e86282f2978136dd6820fa76894ccae5f /video/out/vo_vdpau.c
parente448e10fd7768c509c528f9291d372fa9760919d (diff)
downloadmpv-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_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index f8830c8b00..3bb234f401 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -490,7 +490,7 @@ static bool status_ok(struct vo *vo)
* connect to X server, create and map window, initialize all
* VDPAU objects, create different surfaces etc.
*/
-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 vdpctx *vc = vo->priv;
struct vdp_functions *vdp = vc->vdp;