diff libvo/vo_xmga.c @ 6311:da2dda48b7ec

add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
author pontscho
date Thu, 06 Jun 2002 07:13:57 +0000
parents 72c87b2ec779
children 86d5fc5b54e2
line wrap: on
line diff
--- a/libvo/vo_xmga.c	Thu Jun 06 01:45:39 2002 +0000
+++ b/libvo/vo_xmga.c	Thu Jun 06 07:13:57 2002 +0000
@@ -90,6 +90,8 @@
 
 static XSetWindowAttributes   xWAttribs;
 
+static int inited=0;
+
 #define VO_XMGA
 #include "mga_common.c"
 #undef  VO_XMGA
@@ -201,8 +203,6 @@
    vo_mga_flip_page();
 }
 
-static int inited=0;
-
 static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format,const vo_tune_info_t* info)
 {
  char                 * mTitle=(title == NULL) ? "XMGA render" : title;
@@ -340,7 +340,7 @@
  XSync( mDisplay,False );
 
  saver_off(mDisplay);
-
+ 
  return 0;
 }