changeset 12895:3cd9add91f97

removed saver_on, saver_off calls, they are already in x11_common.c
author reimar
date Sun, 25 Jul 2004 12:49:01 +0000
parents 1591792d4054
children e60cf1255df2
files libvo/vo_gl.c libvo/vo_gl2.c libvo/vo_x11.c libvo/vo_xmga.c libvo/vo_xover.c libvo/vo_xv.c libvo/vo_xvidix.c libvo/vo_xvmc.c
diffstat 8 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_gl.c	Sun Jul 25 12:49:01 2004 +0000
@@ -267,8 +267,6 @@
 
 //  printf("OpenGL setup OK!\n");
 
-      saver_off(mDisplay);  // turning off screen saver
-
       if (vo_ontop) vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
 	return 0;
@@ -354,7 +352,6 @@
 uninit(void)
 {
   if ( !vo_config_count ) return;
-  saver_on(mDisplay); // screen saver back on
   vo_x11_uninit();
 }
 
--- a/libvo/vo_gl2.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_gl2.c	Sun Jul 25 12:49:01 2004 +0000
@@ -1024,7 +1024,6 @@
   if (initGl(d_width, d_height) == -1)
       return -1;
 #ifndef GL_WIN32
-      saver_off(mDisplay);
       if (vo_ontop) vo_x11_setlayer(mDisplay,vo_window, vo_ontop);
 #endif
 
--- a/libvo/vo_x11.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_x11.c	Sun Jul 25 12:49:01 2004 +0000
@@ -535,8 +535,6 @@
     }
 #endif
 
-    saver_off(mDisplay);
-
     if (vo_ontop)
         vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
@@ -724,7 +722,6 @@
         return;
 
     freeMyXImage();
-    saver_on(mDisplay);         // screen saver back on
 
 #ifdef HAVE_XF86VM
     vo_vm_close(mDisplay);
--- a/libvo/vo_xmga.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_xmga.c	Sun Jul 25 12:49:01 2004 +0000
@@ -272,8 +272,6 @@
 
     set_window();               // set up mga_vid_config.dest_width etc
 
-    saver_off(mDisplay);
-
     if (vo_ontop)
         vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
@@ -292,6 +290,5 @@
     if (!inited)
         return;                 // no window?
     inited = 0;
-    saver_on(mDisplay);
     vo_x11_uninit();            // destroy the window
 }
--- a/libvo/vo_xover.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_xover.c	Sun Jul 25 12:49:01 2004 +0000
@@ -352,8 +352,6 @@
 
   panscan_calc();
 
-  saver_off(mDisplay); /* turning off screen saver */
-
   return(0);
 }
 
@@ -404,7 +402,6 @@
   if(!vo_config_count) return;
   if(sub_vo) sub_vo->uninit();
   sub_vo = NULL;
-  saver_on(mDisplay); /* screen saver back on */
   vo_x11_uninit();
   // Restore our callbacks
   video_out_xover.draw_frame = draw_frame;
--- a/libvo/vo_xv.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_xv.c	Sun Jul 25 12:49:01 2004 +0000
@@ -448,8 +448,6 @@
     mp_msg(MSGT_VO, MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n", drwX,
            drwY, vo_dwidth, vo_dheight);
 
-    saver_off(mDisplay);        // turning off screen saver
-
     if (vo_ontop)
         vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
@@ -765,7 +763,6 @@
         return;
     XvFreeAdaptorInfo(ai);
     ai = NULL;
-    saver_on(mDisplay);         // screen saver back on
     for (i = 0; i < num_buffers; i++)
         deallocate_xvimage(i);
 #ifdef HAVE_XF86VM
--- a/libvo/vo_xvidix.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_xvidix.c	Sun Jul 25 12:49:01 2004 +0000
@@ -419,8 +419,6 @@
     if (vo_ontop)
         vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
-    saver_off(mDisplay);        /* turning off screen saver */
-
     return (0);
 }
 
@@ -489,7 +487,6 @@
         vidix_name = NULL;
     }
 
-    saver_on(mDisplay);         /* screen saver back on */
     vo_x11_uninit();
 }
 
--- a/libvo/vo_xvmc.c	Sun Jul 25 00:37:07 2004 +0000
+++ b/libvo/vo_xvmc.c	Sun Jul 25 12:49:01 2004 +0000
@@ -794,7 +794,6 @@
 
    if (vo_ontop) vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
 
-   saver_off(mDisplay);  // turning off screen saver
 //end vo_xv
 
    /* store image dimesions for displaying */
@@ -1208,7 +1207,6 @@
    if( verbose > 3 ) printf("vo_xvmc: uninit called\n");
    xvmc_free();
  //from vo_xv
-   saver_on(mDisplay);
    vo_vm_close(mDisplay);
    vo_x11_uninit();
 }