[MPlayer-cvslog] r31063 - trunk/libvo/gl_common.c
reimar
subversion at mplayerhq.hu
Sat Apr 24 18:49:46 CEST 2010
Author: reimar
Date: Sat Apr 24 18:49:46 2010
New Revision: 31063
Log:
Some crash-resilience fixes.
Modified:
trunk/libvo/gl_common.c
Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c Sat Apr 24 18:46:47 2010 (r31062)
+++ trunk/libvo/gl_common.c Sat Apr 24 18:49:46 2010 (r31063)
@@ -1384,6 +1384,8 @@ static void glSetupYUVFragprog(gl_conver
*/
int glAutodetectYUVConversion(void) {
const char *extensions = mpglGetString(GL_EXTENSIONS);
+ if (!extensions || !mpglMultiTexCoord2f)
+ return YUV_CONVERSION_NONE;
if (strstr(extensions, "GL_ARB_fragment_program"))
return YUV_CONVERSION_FRAGMENT;
if (strstr(extensions, "GL_ATI_text_fragment_shader"))
More information about the MPlayer-cvslog
mailing list