changeset 4131:e3c69a00a6f9

Minor changes: -fs key and vidix params
author nick
date Sun, 13 Jan 2002 10:10:15 +0000
parents c0b9e4a12df0
children 84ecfd03c86a
files libvo/vo_xvidix.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Sun Jan 13 09:37:35 2002 +0000
+++ b/libvo/vo_xvidix.c	Sun Jan 13 10:10:15 2002 +0000
@@ -163,7 +163,12 @@
     aspect(&d_width, &d_height, A_NOZOOM);
 #ifdef X11_FULLSCREEN
     if (flags & 0x01) /* fullscreen */
-      aspect(&d_width, &d_height, A_ZOOM);
+      if(flags & 0x04)	aspect(&d_width, &d_height, A_ZOOM);
+      else
+      {
+	d_width = vo_screenwidth;
+	d_height = vo_screenheight;
+      }
 #endif
 
     hint.x = 0;
@@ -248,7 +253,7 @@
 	window_x, window_y, window_width, window_height);
 
     if (vidix_init(image_width, image_height, window_x, window_y, window_width,
-	window_height, format, image_depth, image_width, image_height) != 0)
+	window_height, format, image_depth, vo_screenwidth, vo_screenheight) != 0)
     {
 	mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n",
 	    vidix_name, strerror(errno));