[vlc-commits] Revert "codec: cc: make captions default background half opaque"
Francois Cartegnie
git at videolan.org
Thu Jun 28 12:05:22 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 28 12:04:44 2018 +0200| [1a5484aa0423c27a4fba294c12305074c16da5ec] | committer: Francois Cartegnie
Revert "codec: cc: make captions default background half opaque"
This reverts commit e51f96aa07247a244f68650a544db0162699712b.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a5484aa0423c27a4fba294c12305074c16da5ec
---
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 29513318f9..1bdb705523 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -515,7 +515,7 @@ static subpicture_t *Subtitle( decoder_t *p_dec, eia608_t *h, vlc_tick_t i_pts )
p_spu_sys->p_default_style->i_style_flags |= STYLE_MONOSPACED;
if( p_dec_sys->b_opaque )
{
- p_spu_sys->p_default_style->i_background_alpha = STYLE_ALPHA_OPAQUE >> 1;
+ p_spu_sys->p_default_style->i_background_alpha = STYLE_ALPHA_OPAQUE;
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