Mercurial > mplayer.hg
changeset 36112:e2e188ede1d1
Use better default for YUV mode autodetection.
The lookup method is a lot faster, and if gamma is not used
we use the same code as before that does not handle gamma at all.
author | reimar |
---|---|
date | Wed, 01 May 2013 19:06:51 +0000 |
parents | 55bd3eed6c9a |
children | d4b701cdd763 |
files | libvo/gl_common.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/gl_common.c Wed May 01 18:52:42 2013 +0000 +++ b/libvo/gl_common.c Wed May 01 19:06:51 2013 +0000 @@ -1557,7 +1557,7 @@ if (!extensions || !mpglMultiTexCoord2f) return YUV_CONVERSION_NONE; if (strstr(extensions, "GL_ARB_fragment_program") && !is_img) - return YUV_CONVERSION_FRAGMENT; + return YUV_CONVERSION_FRAGMENT_LOOKUP; if (strstr(extensions, "GL_ATI_text_fragment_shader") && !is_img) return YUV_CONVERSION_TEXT_FRAGMENT; if (strstr(extensions, "GL_ATI_fragment_shader"))