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

diego subversion at mplayerhq.hu
Sat Jan 31 00:58:08 CET 2009


Author: diego
Date: Sat Jan 31 00:58:07 2009
New Revision: 28402

Log:
Make CONFIG_XVMC a proper FFmpeg-style 0/1 definition.

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

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jan 31 00:47:18 2009	(r28401)
+++ trunk/configure	Sat Jan 31 00:58:07 2009	(r28402)
@@ -4236,7 +4236,7 @@ if test "$_xvmc" = yes ; then
   _vomodules="xvmc $_vomodules"
   _res_comment="using $_xvmclib"
 else
-  _def_xvmc='#undef CONFIG_XVMC'
+  _def_xvmc='#define CONFIG_XVMC 0'
   _novomodules="xvmc $_novomodules"
   _libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// `
 fi

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	Sat Jan 31 00:47:18 2009	(r28401)
+++ trunk/libvo/video_out.c	Sat Jan 31 00:58:07 2009	(r28402)
@@ -225,7 +225,7 @@ const vo_functions_t* const video_out_dr
 #endif
         &video_out_null,
         // should not be auto-selected
-#ifdef CONFIG_XVMC
+#if CONFIG_XVMC
         &video_out_xvmc,
 #endif
         &video_out_mpegpes,



More information about the MPlayer-cvslog mailing list