Commit 65876ac4 authored by Laurent Aimar's avatar Laurent Aimar

Fixed dynamicoverlay SetTextColor.

Initial patch from Doug West.
parent 6a5e468d
...@@ -269,7 +269,7 @@ static int parser_SetTextColor( char *psz_command, char *psz_end, ...@@ -269,7 +269,7 @@ static int parser_SetTextColor( char *psz_command, char *psz_end,
if( parse_digit( &psz_command, &b ) == VLC_EGENERIC ) if( parse_digit( &psz_command, &b ) == VLC_EGENERIC )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
p_params->fontstyle.i_font_color = (r<<24) | (g<<16) | (b<<8); p_params->fontstyle.i_font_color = (r<<16) | (g<<8) | (b<<0);
return VLC_SUCCESS; return 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