From d4de92e80897abb64dc8ccecb7823cbe291bb52d Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 Dec 2011 20:23:54 +0100 Subject: libvo: remove title argument from struct vo_driver.config This affects only the "new" VO API. The config() title argument was barely used, and it's hardcoded to "MPlayer" in vf_vo.c. The X11 and the Cocoa GUI backends, which are the only ones properly supporting window titles, ignored this argument. Remove the title argument. Add the vo_get_window_title function. All GUI VOs are supposed to use it for the window title. --- libvo/cocoa_common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libvo/cocoa_common.h') diff --git a/libvo/cocoa_common.h b/libvo/cocoa_common.h index 25027e1417..c5d24e9178 100644 --- a/libvo/cocoa_common.h +++ b/libvo/cocoa_common.h @@ -10,8 +10,7 @@ void vo_cocoa_update_xinerama_info(struct vo *vo); int vo_cocoa_change_attributes(struct MPGLContext *ctx); int vo_cocoa_create_window(struct MPGLContext *ctx, uint32_t d_width, - uint32_t d_height, uint32_t flags, - const char *title); + uint32_t d_height, uint32_t flags); void vo_cocoa_swap_buffers(void); int vo_cocoa_check_events(struct vo *vo); -- cgit v1.2.3