[MPlayer-cvslog] CVS: main/libvo vo_gl.c,1.108,1.109

Reimar Döffinger CVS syncmail at mplayerhq.hu
Tue Nov 22 17:18:36 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv8972

Modified Files:
	vo_gl.c 
Log Message:
Use slice-height 16 as default for yuv colorspaces (only relevant if decoder
does not support slice rendering).


Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- vo_gl.c	17 Nov 2005 20:49:45 -0000	1.108
+++ vo_gl.c	22 Nov 2005 16:18:34 -0000	1.109
@@ -711,7 +711,7 @@
     use_rectangle = 0;
     use_glFinish = 0;
     swap_interval = 1;
-    slice_height = 4;
+    slice_height = -1;
     custom_prog = NULL;
     custom_tex = NULL;
     custom_tlin = 1;
@@ -758,6 +758,8 @@
       gl_target = GL_TEXTURE_RECTANGLE;
     else
       gl_target = GL_TEXTURE_2D;
+    if (slice_height == -1)
+      slice_height = use_yuv ? 16 : 4;
     if (many_fmts)
       mp_msg (MSGT_VO, MSGL_INFO, "[gl] using extended formats. "
                "Use -vo gl:nomanyfmts if playback fails.\n");




More information about the MPlayer-cvslog mailing list