[vlc-commits] codec: cc: make captions default background half opaque
Francois Cartegnie
git at videolan.org
Tue Oct 17 20:20:03 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Oct 17 20:18:38 2017 +0200| [e51f96aa07247a244f68650a544db0162699712b] | committer: Francois Cartegnie
codec: cc: make captions default background half opaque
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e51f96aa07247a244f68650a544db0162699712b
---
modules/codec/cc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/cc.c b/modules/codec/cc.c
index 01a7c084c7..14da339e8f 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -514,7 +514,7 @@ static subpicture_t *Subtitle( decoder_t *p_dec, eia608_t *h, mtime_t i_pts )
p_spu_sys->p_default_style->i_style_flags |= STYLE_MONOSPACED;
if( p_dec->p_sys->b_opaque )
{
- p_spu_sys->p_default_style->i_background_alpha = STYLE_ALPHA_OPAQUE;
+ p_spu_sys->p_default_style->i_background_alpha = STYLE_ALPHA_OPAQUE >> 1;
p_spu_sys->p_default_style->i_features |= STYLE_HAS_BACKGROUND_ALPHA;
p_spu_sys->p_default_style->i_style_flags |= STYLE_BACKGROUND;
}
More information about the vlc-commits
mailing list