From a782a30580aaf28c5d47914418672f2916571946 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Sun, 19 Sep 2004 15:36:08 +0000 Subject: [PATCH] * modules/video_filter/logo.c: transparency fix by markfm. --- modules/video_filter/logo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c index 0c2090927f..60db1c0ead 100644 --- a/modules/video_filter/logo.c +++ b/modules/video_filter/logo.c @@ -185,7 +185,7 @@ static picture_t *LoadPNG( vlc_object_t *p_this ) p_pic->p[V_PLANE].p_pixels[i_offset] = (p[0] * 439L - p[1] * 368 - p[2] * 71)/1000 + 128; p_pic->p[A_PLANE].p_pixels[i_offset] = - b_alpha ? (p[3] * i_trans) / 255 : 255; + b_alpha ? (p[3] * i_trans) / 255 : i_trans; p += (b_alpha ? 4 : 3); } -- 2.39.2