Mercurial > mplayer.hg
changeset 27751:d120b2951b37
Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
config.h should only contain option definitions, no logic.
author | diego |
---|---|
date | Thu, 16 Oct 2008 18:24:18 +0000 |
parents | 2c11b155ff11 |
children | bfebea06911d |
files | configure libmpcodecs/vd.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Oct 16 18:19:36 2008 +0000 +++ b/configure Thu Oct 16 18:24:18 2008 +0000 @@ -8556,8 +8556,6 @@ $_def_vidix_pfx /* libvo options */ -#define SCREEN_SIZE_X 1 -#define SCREEN_SIZE_Y 1 $_def_x11 $_def_xv $_def_xvmc
--- a/libmpcodecs/vd.c Thu Oct 16 18:19:36 2008 +0000 +++ b/libmpcodecs/vd.c Thu Oct 16 18:24:18 2008 +0000 @@ -134,6 +134,9 @@ 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;