[MPlayer-cvslog] r27916 - trunk/libvo/vo_xv.c

reimar subversion at mplayerhq.hu
Sat Nov 15 17:36:39 CET 2008


Author: reimar
Date: Sat Nov 15 17:36:39 2008
New Revision: 27916

Log:
Remove vo_xv code that has been under #if 0 since ages.


Modified:
   trunk/libvo/vo_xv.c

Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c	(original)
+++ trunk/libvo/vo_xv.c	Sat Nov 15 17:36:39 2008
@@ -352,10 +352,6 @@ static int config(uint32_t width, uint32
     current_buf = 0;
     current_ip_buf = 0;
 
-#if 0
-    set_gamma_correction();
-#endif
-
     aspect(&vo_dwidth, &vo_dheight, A_NOZOOM);
     if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0) vo_fs = 1;
     calc_drwXY(&drwX, &drwY);
@@ -367,31 +363,6 @@ static int config(uint32_t width, uint32
                         vo_dwidth + vo_panscan_x - 1,
                         vo_dheight + vo_panscan_y - 1);
 
-
-#if 0
-#ifdef HAVE_SHM
-    if (Shmem_Flag)
-    {
-        XvShmPutImage(mDisplay, xv_port, vo_window, vo_gc,
-                      xvimage[current_buf], 0, 0, image_width,
-                      image_height, drwX, drwY, 1, 1, False);
-        XvShmPutImage(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), False);
-    } else
-#endif
-    {
-        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);
 



More information about the MPlayer-cvslog mailing list