# HG changeset patch # User reimar # Date 1202756494 0 # Node ID bb89f92affff06e3af2ecfd72fa3a8ad821c2e0f # Parent 9b51f2ba368b4005843cc315781f99ad51d32a2e Slightly document alpha for OSD color diff -r 9b51f2ba368b -r bb89f92affff DOCS/man/en/mplayer.1 --- a/DOCS/man/en/mplayer.1 Mon Feb 11 19:00:01 2008 +0000 +++ b/DOCS/man/en/mplayer.1 Mon Feb 11 19:01:34 2008 +0000 @@ -3578,8 +3578,8 @@ borders in fullscreen mode. Does not work correctly with ass subtitles (see \-ass), you can instead render them without OpenGL support via \-vf ass. -.IPs osdcolor=<0xRRGGBB> -Color for OSD (default: 0xffffff, corresponds to white). +.IPs osdcolor=<0xAARRGGBB> +Color for OSD (default: 0x00ffffff, corresponds to non-transparent white). .IPs rectangle=<0,1,2> Select usage of rectangular textures which saves video RAM, but often is slower (default: 0). diff -r 9b51f2ba368b -r bb89f92affff libvo/vo_gl.c --- a/libvo/vo_gl.c Mon Feb 11 19:00:01 2008 +0000 +++ b/libvo/vo_gl.c Mon Feb 11 19:01:34 2008 +0000 @@ -867,7 +867,7 @@ " use GL_NEAREST scaling for customtex texture\n" " customtrect\n" " use texture_rectangle for customtex texture\n" - " osdcolor=<0xRRGGBB>\n" + " osdcolor=<0xAARRGGBB>\n" " use the given color for the OSD\n" "\n" ); return -1;