[Mplayer-cvslog] CVS: main/libvo vo_dfbmga.c,1.19,1.20

Ville Syrjälä CVS syncmail at mplayerhq.hu
Sun Aug 15 02:27:30 CEST 2004


CVS change done by Ville Syrjälä CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv23025

Modified Files:
	vo_dfbmga.c 
Log Message:
Removed useless SetOpacity() calls.

Index: vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- vo_dfbmga.c	15 Aug 2004 00:25:23 -0000	1.19
+++ vo_dfbmga.c	15 Aug 2004 00:27:28 -0000	1.20
@@ -465,7 +465,6 @@
                is_g200 = 1;
                use_crtc2 = 0;
           }
-          bes->SetOpacity( bes, 0 );
      }
 
      if (use_crtc2) {
@@ -490,7 +489,6 @@
                        DirectFBErrorString( res ) );
                return -1;
           }
-          crtc2->SetOpacity( crtc2, 0 );
      }
 
      if (use_input) {
@@ -775,7 +773,6 @@
                        DirectFBErrorString( res ) );
                return -1;
           }
-          spic->SetOpacity( spic, 0 );
 
           dlc.flags       = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE;
           dlc.pixelformat = DSPF_ALUT44;
@@ -839,14 +836,6 @@
              pixelformat_name( subframe_format ),
              use_crtc2 ? (use_spic ? "Sub-picture layer" : "CRTC2") : "BES" );
 
-     /* Display all needed layers */
-     if (use_bes)
-          bes->SetOpacity( bes, 0xFF );
-     if (use_crtc2)
-          crtc2->SetOpacity( crtc2, 0xFF );
-     if (use_spic)
-          spic->SetOpacity( spic, 0xFF );
-
      osd_dirty = 0;
      osd_current = 1;
      blit_done = 0;




More information about the MPlayer-cvslog mailing list