changeset 4618:09198a119e39

added voctrl_guisupport and fixed some typos
author alex
date Sat, 09 Feb 2002 22:38:36 +0000
parents 1bd05178a74d
children ef213d64e20a
files libvo/video_out.h
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/video_out.h	Sat Feb 09 22:20:03 2002 +0000
+++ b/libvo/video_out.h	Sat Feb 09 22:38:36 2002 +0000
@@ -21,8 +21,10 @@
 #define VOCTRL_QUERY_VAA 1
 /* takes a pointer to uint32_t fourcc */
 #define VOCTRL_QUERY_FORMAT 2
-/* signal a device reset (seek/paus) */
+/* signal a device reset (seek/pause) */
 #define VOCTRL_RESET 3
+/* true if vo driver can use GUI created windows */
+#define VOCTRL_GUISUPPORT 4
 
 #define VO_TRUE		1
 #define VO_FALSE	0
@@ -50,8 +52,8 @@
 					   vidix:dest */
 	int		flags;          /* Probably will work only when flag == 0 */
 	/* memory model */
-	unsigned	frame_size;		/* destinition frame size */
-	unsigned	num_frames;		/* number available frames */
+	unsigned	frame_size;		/* destination frame size */
+	unsigned	num_frames;		/* number of available frames */
 	unsigned	offsets[VID_PLAY_MAXFRAMES]; /* relative offset of each frame from begin of video memory */
 	vidix_yuv_t	offset;			/* relative offsets within frame for yuv planes */
 	void*		dga_addr;		/* linear address of BES */
@@ -164,7 +166,7 @@
 // NULL terminated array of all drivers
 extern vo_functions_t* video_out_drivers[];
 
-// currect resolution/bpp on screen:  (should be autodetected by vo_init())
+// correct resolution/bpp on screen:  (should be autodetected by vo_init())
 extern int vo_depthonscreen;
 extern int vo_screenwidth;
 extern int vo_screenheight;