changeset 9381:007a1bdce1f4

reversed small part of the r1.135 commit, it broke -fs (random black screen)
author arpi
date Sun, 09 Feb 2003 21:35:27 +0000
parents edfe34c5405d
children 1b3444713694
files libvo/vo_xv.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Sun Feb 09 20:18:23 2003 +0000
+++ b/libvo/vo_xv.c	Sun Feb 09 21:35:27 2003 +0000
@@ -450,7 +450,9 @@
       }
 
      panscan_calc();
+
      XClearWindow(mDisplay, vo_window);
+#if 0
 #ifdef HAVE_SHM
      if ( Shmem_Flag )
      {
@@ -463,6 +465,7 @@
 	 XvPutImage(mDisplay, xv_port, vo_window, vo_gc, xvimage[current_buf], 0, 0,  image_width, image_height, drwX, drwY, 1, 1);
 	 XvPutImage(mDisplay, xv_port, vo_window, vo_gc, xvimage[current_buf], 0, 0,  image_width, image_height, drwX,drwY,vo_dwidth,(vo_fs?vo_dheight - 1:vo_dheight));
      }
+#endif
      
      mp_msg(MSGT_VO,MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight );