[vlc-devel] commit: Corrected semi transparent ZVBI test (but I let it disabled). ( Laurent Aimar )

git version control git at videolan.org
Mon Aug 18 19:39:23 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Aug 18 13:31:35 2008 +0200| [e047737d74bbb5efde9f29b792a716948a5156d3] | committer: Laurent Aimar 

Corrected semi transparent ZVBI test (but I let it disabled).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e047737d74bbb5efde9f29b792a716948a5156d3
---

 modules/codec/zvbi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index b442dd8..c8b3b5c 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -510,7 +510,7 @@ static int OpaquePage( picture_t *p_src, const vbi_page p_page,
                 break;
             /* Transparency for boxed text */
             case VBI_SEMI_TRANSPARENT:
-                if( (*p_pixel & 0xffffff00) == 0xff ) /* FIXME cannot be true ? */
+                if( (*p_pixel) == 0xff000000 && 0 ) /* Disabled until someone implement borders */
                     *p_pixel = 0;
                 break;
             }




More information about the vlc-devel mailing list