[MPlayer-cvslog] r20216 - in trunk: configure libvo/video_out.c

diego subversion at mplayerhq.hu
Sat Oct 14 20:00:26 CEST 2006


Author: diego
Date: Sat Oct 14 20:00:26 2006
New Revision: 20216

Modified:
   trunk/configure
   trunk/libvo/video_out.c

Log:
Create proper define for DFBMGA.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Oct 14 20:00:26 2006
@@ -3772,8 +3772,10 @@
   if test "$_dfb_version" -ge $(dfb_version 0 9 15); then
     _vosrc="$_vosrc vo_dfbmga.c"
     _vomodules="dfbmga $_vomodules"
+    _def_dfbmga='#define HAVE_DFBMGA 1'
   else
     _novomodules="dfbmga $_novomodules"
+    _def_dfbmga='#undef HAVE_DFBMGA'
   fi
 else
   _def_directfb='#undef HAVE_DIRECTFB'
@@ -8344,6 +8346,7 @@
 $_def_tdfxvid
 $_def_directfb
 $_def_directfb_version
+$_def_dfbmga
 $_def_zr
 $_def_bl
 $_def_mga

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	(original)
+++ trunk/libvo/video_out.c	Sat Oct 14 20:00:26 2006
@@ -113,7 +113,7 @@
 #endif
 #ifdef HAVE_DIRECTFB
 extern vo_functions_t video_out_directfb;
-#if DIRECTFBVERSION >= 915
+#ifdef HAVE_DFBMGA
 extern vo_functions_t video_out_dfbmga;
 #endif
 #endif
@@ -228,7 +228,7 @@
 #endif
 #ifdef HAVE_DIRECTFB
 	&video_out_directfb,
-#if DIRECTFBVERSION >= 915
+#ifdef HAVE_DFBMGA
         &video_out_dfbmga,
 #endif
 #endif



More information about the MPlayer-cvslog mailing list