[vlc-devel] commit: Fixed dynamicoverlay SetTextColor. (Laurent Aimar )
git version control
git at videolan.org
Sat Jan 10 10:43:02 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jan 10 10:41:18 2009 +0100| [65876ac4ffd3c25d58676b4051374ac5f5379f9c] | committer: Laurent Aimar
Fixed dynamicoverlay SetTextColor.
Initial patch from Doug West.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65876ac4ffd3c25d58676b4051374ac5f5379f9c
---
.../dynamicoverlay/dynamicoverlay_commands.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c b/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
index 03e28b2..9b693c2 100644
--- a/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
+++ b/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
@@ -269,7 +269,7 @@ static int parser_SetTextColor( char *psz_command, char *psz_end,
if( parse_digit( &psz_command, &b ) == 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;
}
More information about the vlc-devel
mailing list