summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-17 03:06:38 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-17 03:06:38 +0000
commit7ef2f59186ae788ef616a30b099a63cdb44bcaa1 (patch)
tree18b69722ebf3849606e6b5f97761470502dc971d
parent54dda23e50627c484f3d8c3505531db1e8d14b7e (diff)
downloadmpv-7ef2f59186ae788ef616a30b099a63cdb44bcaa1.tar.bz2
mpv-7ef2f59186ae788ef616a30b099a63cdb44bcaa1.tar.xz
added VOFLAG_* definitions and int vo_flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4737 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/video_out.c2
-rw-r--r--libvo/video_out.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index a7835d2e5f..2898ee0e43 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -31,6 +31,8 @@
#include "../linux/shmem.h"
+int vo_flags=0;
+
// currect resolution/bpp on screen: (should be autodetected by vo_init())
int vo_depthonscreen=0;
int vo_screenwidth=0;
diff --git a/libvo/video_out.h b/libvo/video_out.h
index e0ce27bd3f..bd6b09a486 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -34,6 +34,11 @@
#define VO_NOTAVAIL -2
#define VO_NOTIMPL -3
+#define VOFLAG_FULLSCREEN 0x01
+#define VOFLAG_MODESWITCHING 0x02
+#define VOFLAG_SWSCALE 0x04
+#define VOFLAG_FLIPPING 0x08
+
typedef struct vo_info_s
{
/* driver name ("Matrox Millennium G200/G400" */