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
This commit is contained in:
diego 2008-10-16 18:24:18 +00:00
parent a290af1657
commit af21f25f31
2 changed files with 3 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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;