vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | 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;
     }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to