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

diego subversion at mplayerhq.hu
Sat Mar 15 10:49:14 CET 2008


Author: diego
Date: Sat Mar 15 10:49:14 2008
New Revision: 26245

Log:
Add a separate definition for quartz.


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

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Mar 15 10:49:14 2008
@@ -3580,6 +3580,7 @@ EOF
     _def_coreaudio='#define HAVE_COREAUDIO 1'
     _aosrc="$_aosrc ao_macosx.c"
     _aomodules="macosx $_aomodules"
+    _def_quartz='#define HAVE_QUARTZ 1'
     _vosrc="$_vosrc vo_quartz.c"
     _vomodules="quartz $_vomodules"
   else
@@ -3588,6 +3589,7 @@ EOF
     _def_macosx='#undef MACOSX'
     _def_coreaudio='#undef HAVE_COREAUDIO'
     _noaomodules="macosx $_noaomodules"
+    _def_quartz='#undef HAVE_QUARTZ'
     _novomodules="quartz $_novomodules"
   fi
 cat > $TMPC <<EOF
@@ -7798,6 +7800,7 @@ MACOSX_FINDER_SUPPORT = $_macosx_finder_
 MACOSX_BUNDLE = $_macosx_bundle
 COREAUDIO = $_coreaudio
 COREVIDEO = $_corevideo
+QUARTZ = $_quartz
 TOOLAME=$_toolame
 TWOLAME=$_twolame
 FAAC=$_faac
@@ -8174,6 +8177,7 @@ $_def_macosx_finder_support
 $_def_macosx_bundle
 $_def_coreaudio
 $_def_corevideo
+$_def_quartz
 
 /* Build our Win32-loader */
 $_def_win32_loader

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	(original)
+++ trunk/libvo/video_out.c	Sat Mar 15 10:49:14 2008
@@ -127,7 +127,7 @@ const vo_functions_t* const video_out_dr
 #ifdef HAVE_COREVIDEO
 	&video_out_macosx,
 #endif
-#ifdef MACOSX
+#ifdef HAVE_QUARTZ
 	&video_out_quartz,
 #endif
 #ifdef HAVE_XMGA



More information about the MPlayer-cvslog mailing list