From c2cb85851ff2b4050b0564d442f57d44084fafc1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 25 Aug 2013 21:11:36 +0200 Subject: vo_corevideo: use dwidth/dheight for window dimensions In the previous commit I wrongly used params->d_h/d_w which happened to work by chance. --- video/out/vo_corevideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo_corevideo.c b/video/out/vo_corevideo.c index 57ebb04336..2adee98b02 100644 --- a/video/out/vo_corevideo.c +++ b/video/out/vo_corevideo.c @@ -152,7 +152,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags) int mpgl_caps = MPGL_CAP_GL_LEGACY; if (!mpgl_config_window( - p->mpglctx, mpgl_caps, params->d_w, params->d_h, flags)) + p->mpglctx, mpgl_caps, vo->dwidth, vo->dheight, flags)) return -1; init_gl(vo, vo->dwidth, vo->dheight); -- cgit v1.2.3