diff options
author | wm4 <wm4@nowhere> | 2014-01-11 18:50:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-11 18:58:07 +0100 |
commit | 905029ec0c89b638792a429263bb6033eb074570 (patch) | |
tree | 83d49f60db988316bb9dd9f3f7f5f401537c2fb9 /video/out/vo_vaapi.c | |
parent | d956bbc065d570f425f402c83d69957584591dbd (diff) | |
download | mpv-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_vaapi.c')
-rw-r--r-- | video/out/vo_vaapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index d05b4afd44..cd2768a3ea 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -157,8 +157,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags) free_video_specific(p); - vo_x11_config_vo_window(vo, NULL, vo->dx, vo->dy, vo->dwidth, vo->dheight, - flags, "vaapi"); + vo_x11_config_vo_window(vo, NULL, vo->dwidth, vo->dheight, flags, "vaapi"); if (params->imgfmt != IMGFMT_VAAPI) { if (!alloc_swdec_surfaces(p, params->w, params->h, params->imgfmt)) |