diff options
author | wm4 <wm4@mplayer2.org> | 2011-12-06 20:23:54 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2011-12-06 20:32:33 +0100 |
commit | d4de92e80897abb64dc8ccecb7823cbe291bb52d (patch) | |
tree | 0686f943152165b2cab91a79287ea788083bc474 /libvo/gl_common.h | |
parent | 421c840b3c061de89b426244fe75237a73f765de (diff) | |
download | mpv-d4de92e80897abb64dc8ccecb7823cbe291bb52d.tar.bz2 mpv-d4de92e80897abb64dc8ccecb7823cbe291bb52d.tar.xz |
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.
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 88a2507060..8e3294f441 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -387,7 +387,7 @@ typedef struct MPGLContext { #endif } context; int (*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); int (*setGlWindow)(struct MPGLContext *); void (*releaseGlContext)(struct MPGLContext *); void (*swapGlBuffers)(struct MPGLContext *); |