changeset 4736:57f053d75893

added VOFLAG_* definitions and int vo_flags
author alex
date Sun, 17 Feb 2002 03:06:38 +0000
parents 21eca91fece7
children 32e1f5042f65
files libvo/video_out.c libvo/video_out.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/video_out.c	Sun Feb 17 02:11:14 2002 +0000
+++ b/libvo/video_out.c	Sun Feb 17 03:06:38 2002 +0000
@@ -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;
--- a/libvo/video_out.h	Sun Feb 17 02:11:14 2002 +0000
+++ b/libvo/video_out.h	Sun Feb 17 03:06:38 2002 +0000
@@ -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" */