From af21f25f31c0f157d1476f4aa951767a182b2356 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 16 Oct 2008 18:24:18 +0000 Subject: [PATCH] Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used. config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 -- libmpcodecs/vd.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 0a528aa33c..ab0a770b87 100755 --- a/configure +++ b/configure @@ -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 diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 281e67ba0c..67f6b3e7e0 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -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;