[vlc-commits] codec: cc: fix grid sizing
Francois Cartegnie
git at videolan.org
Mon Aug 17 17:59:40 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Aug 17 15:11:54 2015 +0200| [1eefe9ffd0b81e3cd70697daa8515f14024a40b9] | committer: Francois Cartegnie
codec: cc: fix grid sizing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1eefe9ffd0b81e3cd70697daa8515f14024a40b9
---
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 0a0e370..99da3a6 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -428,7 +428,7 @@ static subpicture_t *Subtitle( decoder_t *p_dec, text_segment_t *p_segments, mti
/* Set style defaults (will be added to segments if none set) */
p_spu_sys->p_default_style->i_style_flags |= STYLE_MONOSPACED;
p_spu_sys->p_default_style->i_font_color = rgi_eia608_colors[EIA608_COLOR_DEFAULT];
- p_spu_sys->p_default_style->f_font_relsize = 80.0 / EIA608_SCREEN_ROWS;
+ p_spu_sys->p_default_style->f_font_relsize = 100 / EIA608_SCREEN_ROWS * 3/4;
p_spu_sys->p_default_style->i_features |= (STYLE_HAS_FONT_COLOR | STYLE_HAS_FLAGS);
return p_spu;
More information about the vlc-commits
mailing list