[MPlayer-cvslog] r23898 - in trunk: DOCS/man/en/mplayer.1 libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Sun Jul 29 00:54:09 CEST 2007


Author: reimar
Date: Sun Jul 29 00:54:08 2007
New Revision: 23898

Log:
Set -vo gl slice-height default to 0, the current default of 4 seems
to never be much faster, but there were multiple reports where it
was a lot slower (mostly those where gl2 was faster).


Modified:
   trunk/libvo/vo_gl.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/man/en/mplayer.1

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Sun Jul 29 00:54:08 2007
@@ -808,7 +808,7 @@ static int preinit(const char *arg)
     use_rectangle = 0;
     use_glFinish = 0;
     swap_interval = 1;
-    slice_height = -1;
+    slice_height = 0;
     custom_prog = NULL;
     custom_tex = NULL;
     custom_tlin = 1;
@@ -868,8 +868,6 @@ static int preinit(const char *arg)
       gl_target = GL_TEXTURE_RECTANGLE;
     else
       gl_target = GL_TEXTURE_2D;
-    if (slice_height == -1)
-      slice_height = use_yuv ? 16 : 4;
     yuvconvtype = use_yuv | lscale << YUV_LUM_SCALER_SHIFT | cscale << YUV_CHROM_SCALER_SHIFT;
     if (many_fmts)
       mp_msg (MSGT_VO, MSGL_INFO, "[gl] using extended formats. "



More information about the MPlayer-cvslog mailing list