[vlc-commits] Revert "codec: cc: make captions default background half opaque"
Francois Cartegnie
git at videolan.org
Thu Jul 26 13:21:12 CEST 2018
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 28 12:04:44 2018 +0200| [4e07f32ea6125ec25f8ae0d56498017aba22adb8] | committer: Francois Cartegnie
Revert "codec: cc: make captions default background half opaque"
This reverts commit e51f96aa07247a244f68650a544db0162699712b.
(cherry picked from commit 1a5484aa0423c27a4fba294c12305074c16da5ec)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4e07f32ea6125ec25f8ae0d56498017aba22adb8
---
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 cc52ba8e05..99073caf27 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 >> 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