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/old_vo_wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/old_vo_wrapper.h') diff --git a/libvo/old_vo_wrapper.h b/libvo/old_vo_wrapper.h index 250a1187fe..f18ee296f4 100644 --- a/libvo/old_vo_wrapper.h +++ b/libvo/old_vo_wrapper.h @@ -10,7 +10,7 @@ extern struct osd_state *global_osd; int old_vo_preinit(struct vo *vo, const char *); int old_vo_config(struct vo *vo, uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, - uint32_t flags, char *title, uint32_t format); + uint32_t flags, uint32_t format); int old_vo_control(struct vo *vo, uint32_t request, void *data); int old_vo_draw_frame(struct vo *vo, uint8_t *src[]); int old_vo_draw_slice(struct vo *vo, uint8_t *src[], int stride[], -- cgit v1.2.3