# HG changeset patch # User reimar # Date 1367435211 0 # Node ID e2e188ede1d196212bd2af858d7c230471de090e # Parent 55bd3eed6c9aab92ad9d4b2c32511542f2e3a18c 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. diff -r 55bd3eed6c9a -r e2e188ede1d1 libvo/gl_common.c --- 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"))