Commit 18ac784c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: fix freetype-color option

parent e980788a
......@@ -934,6 +934,8 @@ static void FillDefaultStyles( filter_t *p_filter )
p_sys->p_default_style->i_font_alpha = var_InheritInteger( p_filter,"freetype-opacity" );
p_sys->p_default_style->i_font_alpha = VLC_CLIP( p_sys->p_default_style->i_font_alpha, 0, 255 );
p_sys->p_default_style->i_font_color = var_InheritInteger( p_filter,"freetype-color" );
p_sys->p_default_style->i_font_color = VLC_CLIP( p_sys->p_default_style->i_font_color, 0, 0xFFFFFF );
p_sys->p_default_style->i_outline_alpha = var_InheritInteger( p_filter, "freetype-outline-opacity" );
p_sys->p_default_style->i_outline_alpha = VLC_CLIP( p_sys->p_default_style->i_outline_alpha, 0, 255 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment