[Mplayer-cvslog] CVS: main/libvo vo_directfb.c,1.16,1.17

Atmosfear atmos4 at mplayerhq.hu
Sun Apr 28 22:20:08 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv7534/libvo

Modified Files:
	vo_directfb.c 
Log Message:
DFB 0.9.10 update patch by Jiri.


Index: vo_directfb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directfb.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- vo_directfb.c	13 Apr 2002 22:18:17 -0000	1.16
+++ vo_directfb.c	28 Apr 2002 20:20:06 -0000	1.17
@@ -224,8 +224,16 @@
      if (caps & DLCAPS_ALPHACHANNEL)
           printf( "  - Supports blending based on alpha channel.\n" );
 
+#ifdef HAVE_DIRECTFB0910
+     if (caps & DLCAPS_SRC_COLORKEY)
+          printf( "  - Supports source based color keying.\n" );
+
+     if (caps & DLCAPS_DST_COLORKEY)
+          printf( "  - Supports destination based color keying.\n" );
+#else
      if (caps & DLCAPS_COLORKEYING)
           printf( "  - Supports color keying.\n" );
+#endif
 
      if (caps & DLCAPS_FLICKER_FILTERING)
           printf( "  - Supports flicker filtering.\n" );
@@ -289,10 +297,10 @@
     	    DFBCHECK (DirectFBSetOption ("fbdev",fb_dev_name));
 	}
 
-	// disable YV12 for dfb 0.9.9 - there is a bug in dfb!
+	// disable YV12 for dfb until 0.9.10 - there is a bug in dfb! should be revised with every dfb version until bug is fixed in dfb.
 	if ((directfb_major_version <= 0) &&
 	    (directfb_minor_version <= 9) &&
-	    (directfb_micro_version <= 9)) {
+	    (directfb_micro_version <= 10)) {
 	    buggyYV12BitBlt=1;
 	    if (verbose) printf("DirectFB: Buggy YV12BitBlt!\n");
 	}




More information about the MPlayer-cvslog mailing list