[MPlayer-cvslog] r27785 - in trunk: configure libmpcodecs/vd.c

diego subversion at mplayerhq.hu
Thu Oct 16 20:24:19 CEST 2008


Author: diego
Date: Thu Oct 16 20:24:18 2008
New Revision: 27785

Log:
Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
config.h should only contain option definitions, no code.


Modified:
   trunk/configure
   trunk/libmpcodecs/vd.c

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Oct 16 20:24:18 2008
@@ -8556,8 +8556,6 @@ $_def_vidix_drv_unichrome
 $_def_vidix_pfx
 
 /* libvo options */
-#define SCREEN_SIZE_X 1
-#define SCREEN_SIZE_Y 1
 $_def_x11
 $_def_xv
 $_def_xvmc

Modified: trunk/libmpcodecs/vd.c
==============================================================================
--- trunk/libmpcodecs/vd.c	(original)
+++ trunk/libmpcodecs/vd.c	Thu Oct 16 20:24:18 2008
@@ -134,6 +134,9 @@ int vo_gamma_hue = 1000;
 
 extern vd_functions_t* mpvdec; // FIXME!
 
+#define SCREEN_SIZE_X 1
+#define SCREEN_SIZE_Y 1
+
 int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt){
     int i,j;
     unsigned int out_fmt=0;



More information about the MPlayer-cvslog mailing list