diff options
author | wm4 <wm4@nowhere> | 2013-02-24 23:32:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-26 02:01:48 +0100 |
commit | 423c0b13c4ffaf8ba619a4412b90a4b94fccce3c (patch) | |
tree | d63e256901015ac5ffd039f5f6c51f9fbefddb8c /video/out/vo_vdpau.c | |
parent | c61f1ff61b8282d9938671543fa6a63d25cf5fc0 (diff) | |
download | mpv-423c0b13c4ffaf8ba619a4412b90a4b94fccce3c.tar.bz2 mpv-423c0b13c4ffaf8ba619a4412b90a4b94fccce3c.tar.xz |
video/out: rename create_window to config_window
create_window is really bad naming, because this function can be called
multiple times, while the name implies that it always creates a new
window. At least the name config_window is not actively misleading.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r-- | video/out/vo_vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index d97a4ac48d..9890db13ea 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -856,7 +856,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height, if (IMGFMT_IS_VDPAU(vc->image_format) && !create_vdp_decoder(vo, 2)) return -1; - vo_x11_create_vo_window(vo, NULL, vo->dx, vo->dy, d_width, d_height, + vo_x11_config_vo_window(vo, NULL, vo->dx, vo->dy, d_width, d_height, flags, "vdpau"); if (initialize_vdpau_objects(vo) < 0) |