[MPlayer-dev-eng] [PATCH] vo_dfbmga CRTC2 layer name change

Ville Syrjälä syrjala at sci.fi
Mon Jan 26 22:40:01 CET 2004


The CRTC2 layer name has changed in DirectFB cvs. The attached patch makes 
things work again.

-- 
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/
-------------- next part --------------
Index: libvo/vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v
retrieving revision 1.13
diff -u -r1.13 vo_dfbmga.c
--- libvo/vo_dfbmga.c	17 Oct 2003 08:36:47 -0000	1.13
+++ libvo/vo_dfbmga.c	26 Jan 2004 21:35:06 -0000
@@ -404,7 +404,11 @@
 
      if (use_crtc2) {
           struct layer_enum l = {
+#if DIRECTFBVERSION > 920
+               "Matrox CRTC2 Layer",
+#else
                "Matrox CRTC2",
+#endif
                &crtc2,
                DFB_UNSUPPORTED
           };


More information about the MPlayer-dev-eng mailing list