summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--libmpcodecs/vd.c3
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;