[MPlayer-cvslog] r36206 - trunk/libvo/gl_common.c

reimar subversion at mplayerhq.hu
Wed May 1 21:06:52 CEST 2013


Author: reimar
Date: Wed May  1 21:06:51 2013
New Revision: 36206

Log:
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.

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Wed May  1 20:52:42 2013	(r36205)
+++ trunk/libvo/gl_common.c	Wed May  1 21:06:51 2013	(r36206)
@@ -1557,7 +1557,7 @@ int glAutodetectYUVConversion(void) {
   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"))


More information about the MPlayer-cvslog mailing list