diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-08 17:58:56 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-08 17:58:56 +0000 |
commit | 2ac89bd3885fd96de680a2965c105d1b77ace1ca (patch) | |
tree | 2e5f90706c5307f232c6d6dac5180f82e914caf6 | |
parent | 5405368390efa1ff088ea5945e3b9fd972658bac (diff) | |
download | mpv-2ac89bd3885fd96de680a2965c105d1b77ace1ca.tar.bz2 mpv-2ac89bd3885fd96de680a2965c105d1b77ace1ca.tar.xz |
set sub_bg_alpha only to 255 when using hardware OSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14431 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_gl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index b82e68b28c..0614dbe844 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -159,6 +159,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin glFindFormat(format, &image_bytes, &gl_texfmt, &gl_format, &gl_type); image_bytes = (image_bytes + 7) / 8; + if (use_osd) sub_bg_alpha = 255; // We need alpha = 255 for invisible part of the OSD int_pause = 0; |