changeset 4790:50288f9f6b15

Fix return value of VOCTRL_FULLSCREEN
author atmos4
date Thu, 21 Feb 2002 16:17:15 +0000
parents c2bb05709676
children 7fcffc537252
files libvo/vo_sdl.c libvo/vo_x11.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Thu Feb 21 16:05:09 2002 +0000
+++ b/libvo/vo_sdl.c	Thu Feb 21 16:17:15 2002 +0000
@@ -1327,7 +1327,7 @@
       set_fullmode(priv->fullmode);
       if(verbose > 1) printf("SDL: Set fullscreen mode\n");
     }
-    //return VO_TRUE; // XXX what should VOCTRL_FULLSCREEN return?
+    return VO_TRUE;
   }
 
   return VO_NOTIMPL;
--- a/libvo/vo_x11.c	Thu Feb 21 16:05:09 2002 +0000
+++ b/libvo/vo_x11.c	Thu Feb 21 16:17:15 2002 +0000
@@ -650,6 +650,7 @@
 	vo_fs_oldheight = -1;
 	XSync(mDisplay, False);
     }
+    return VO_TRUE;
   }
   return VO_NOTIMPL;
 }