libvo: remove title argument from struct vo_driver.config
commitd4de92e80897abb64dc8ccecb7823cbe291bb52d
authorwm4 <wm4@mplayer2.org>
Tue, 6 Dec 2011 19:23:54 +0000 (6 20:23 +0100)
committerwm4 <wm4@mplayer2.org>
Tue, 6 Dec 2011 19:32:33 +0000 (6 20:32 +0100)
tree0686f943152165b2cab91a79287ea788083bc474
parent421c840b3c061de89b426244fe75237a73f765de
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.
15 files changed:
libmpcodecs/vd.c
libmpcodecs/vf_vo.c
libvo/cocoa_common.h
libvo/cocoa_common.m
libvo/gl_common.c
libvo/gl_common.h
libvo/old_vo_wrapper.c
libvo/old_vo_wrapper.h
libvo/video_out.c
libvo/video_out.h
libvo/vo_gl.c
libvo/vo_vdpau.c
libvo/vo_xv.c
libvo/x11_common.c
libvo/x11_common.h