summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-22 18:00:38 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-22 18:00:38 +0000
commit41803844bafaff06383f8da927a3d6e0e5fc7494 (patch)
tree13282745e705056ee8b559f79ee34f81dc2ac796 /libvo
parentd8fae019eda883fe41c5ab03e8a2006e6eb046a3 (diff)
downloadmpv-41803844bafaff06383f8da927a3d6e0e5fc7494.tar.bz2
mpv-41803844bafaff06383f8da927a3d6e0e5fc7494.tar.xz
added vo_dx,vo_dy (used currently only by X based outputs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4812 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c2
-rw-r--r--libvo/video_out.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 2898ee0e43..cdf17587af 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -39,6 +39,8 @@ int vo_screenwidth=0;
int vo_screenheight=0;
// requested resolution/bpp: (-x -y -bpp options)
+int vo_dx=0;
+int vo_dy=0;
int vo_dwidth=0;
int vo_dheight=0;
int vo_dbpp=0;
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 6bedc1367b..1a461430da 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -179,12 +179,16 @@ int vo_init(void);
// NULL terminated array of all drivers
extern vo_functions_t* video_out_drivers[];
+extern int vo_flags;
+
// correct resolution/bpp on screen: (should be autodetected by vo_init())
extern int vo_depthonscreen;
extern int vo_screenwidth;
extern int vo_screenheight;
// requested resolution/bpp: (-x -y -bpp options)
+extern int vo_dx;
+extern int vo_dy;
extern int vo_dwidth;
extern int vo_dheight;
extern int vo_dbpp;