Mercurial > mplayer.hg
changeset 23878:e64c59f73527
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).
author | reimar |
---|---|
date | Sat, 28 Jul 2007 22:54:08 +0000 |
parents | f3db21f1963b |
children | 26a32eda1603 |
files | DOCS/man/en/mplayer.1 libvo/vo_gl.c |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1 Sat Jul 28 22:46:10 2007 +0000 +++ b/DOCS/man/en/mplayer.1 Sat Jul 28 22:54:08 2007 +0000 @@ -3506,7 +3506,7 @@ Enables support for more (RGB and BGR) color formats (default: enabled). Needs OpenGL version >= 1.2. .IPs slice-height=<0\-...> -Number of lines copied to texture in one piece (default: 4). +Number of lines copied to texture in one piece (default: 0). 0 for whole image. .br .I NOTE:
--- a/libvo/vo_gl.c Sat Jul 28 22:46:10 2007 +0000 +++ b/libvo/vo_gl.c Sat Jul 28 22:54:08 2007 +0000 @@ -808,7 +808,7 @@ 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 @@ 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. "