[vlc-commits] RSS: fix opacity management
Jean-Baptiste Kempf
git at videolan.org
Wed May 7 16:47:46 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 7 16:36:57 2014 +0200| [34a5ca9143fe71c35fc2f52fd21883efdfeecc62] | committer: Jean-Baptiste Kempf
RSS: fix opacity management
Close #7241
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34a5ca9143fe71c35fc2f52fd21883efdfeecc62
---
modules/video_filter/rss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/rss.c b/modules/video_filter/rss.c
index 63ea3b2..2d28f16 100644
--- a/modules/video_filter/rss.c
+++ b/modules/video_filter/rss.c
@@ -288,7 +288,7 @@ static int CreateFilter( vlc_object_t *p_this )
p_sys->i_xoff = var_CreateGetInteger( p_filter, CFG_PREFIX "x" );
p_sys->i_yoff = var_CreateGetInteger( p_filter, CFG_PREFIX "y" );
p_sys->i_pos = var_CreateGetInteger( p_filter, CFG_PREFIX "position" );
- p_sys->p_style->i_font_alpha = 255 - var_CreateGetInteger( p_filter, CFG_PREFIX "opacity" );
+ p_sys->p_style->i_font_alpha = var_CreateGetInteger( p_filter, CFG_PREFIX "opacity" );
p_sys->p_style->i_font_color = var_CreateGetInteger( p_filter, CFG_PREFIX "color" );
p_sys->p_style->i_font_size = var_CreateGetInteger( p_filter, CFG_PREFIX "size" );
More information about the vlc-commits
mailing list