summaryrefslogtreecommitdiffstats
path: root/video/out/vo_xv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-11 18:50:02 +0100
committerwm4 <wm4@nowhere>2014-01-11 18:58:07 +0100
commit905029ec0c89b638792a429263bb6033eb074570 (patch)
tree83d49f60db988316bb9dd9f3f7f5f401537c2fb9 /video/out/vo_xv.c
parentd956bbc065d570f425f402c83d69957584591dbd (diff)
downloadmpv-905029ec0c89b638792a429263bb6033eb074570.tar.bz2
mpv-905029ec0c89b638792a429263bb6033eb074570.tar.xz
video/out: remove pointless x/y parameter from vo_x11_config_vo_window
This never made any real sense; the "backend" has to access vo->dx/dy anyway.
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r--video/out/vo_xv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index 43a98a7068..046dc21d85 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -455,8 +455,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
if (!ctx->xv_format)
return -1;
- vo_x11_config_vo_window(vo, NULL, vo->dx, vo->dy, vo->dwidth,
- vo->dheight, flags, "xv");
+ vo_x11_config_vo_window(vo, NULL, vo->dwidth, vo->dheight, flags, "xv");
if (ctx->xv_ck_info.method == CK_METHOD_BACKGROUND)
XSetWindowBackground(x11->display, x11->window, ctx->xv_colorkey);