From 423c0b13c4ffaf8ba619a4412b90a4b94fccce3c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 23:32:51 +0100 Subject: 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. --- video/out/vo_vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_vdpau.c') 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) -- cgit v1.2.3