From 291f301c105ca989db6165108fd9dd1c57cde56d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 3 Oct 2015 18:20:16 +0200 Subject: 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. --- player/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 897c43229e..873ff632a5 100644 --- a/player/video.c +++ b/player/video.c @@ -1132,7 +1132,7 @@ void write_video(struct MPContext *mpctx, double endpts) info->name, p.w, p.h, extra, vo_format_name(p.imgfmt)); MP_VERBOSE(mpctx, "VO: Description: %s\n", info->description); - int vo_r = vo_reconfig(vo, &p, 0); + int vo_r = vo_reconfig(vo, &p); if (vo_r < 0) { mpctx->error_playing = MPV_ERROR_VO_INIT_FAILED; goto error; -- cgit v1.2.3