Commit 59adec1a authored by Laurent Aimar's avatar Laurent Aimar

Fixed support for font color/opacity for html rendered text (close #2098).

parent 86cd2067
......@@ -2067,7 +2067,8 @@ static int ProcessNodes( filter_t *p_filter,
rv = PushFont( &p_fonts,
FC_DEFAULT_FONT,
p_sys->i_font_size,
0x00ffffff,
(p_sys->i_font_color & 0xffffff) |
(((255-p_sys->i_font_opacity) & 0xff) << 24),
0x00ffffff );
}
if( rv != VLC_SUCCESS )
......
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