mirror of https://github.com/mpv-player/mpv
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:
parent
a290af1657
commit
af21f25f31
|
@ -8556,8 +8556,6 @@ $_def_vidix_drv_unichrome
|
||||||
$_def_vidix_pfx
|
$_def_vidix_pfx
|
||||||
|
|
||||||
/* libvo options */
|
/* libvo options */
|
||||||
#define SCREEN_SIZE_X 1
|
|
||||||
#define SCREEN_SIZE_Y 1
|
|
||||||
$_def_x11
|
$_def_x11
|
||||||
$_def_xv
|
$_def_xv
|
||||||
$_def_xvmc
|
$_def_xvmc
|
||||||
|
|
|
@ -134,6 +134,9 @@ int vo_gamma_hue = 1000;
|
||||||
|
|
||||||
extern vd_functions_t* mpvdec; // FIXME!
|
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 mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt){
|
||||||
int i,j;
|
int i,j;
|
||||||
unsigned int out_fmt=0;
|
unsigned int out_fmt=0;
|
||||||
|
|
Loading…
Reference in New Issue