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

reimar subversion at mplayerhq.hu
Sat Nov 21 23:30:33 CET 2009


Author: reimar
Date: Sat Nov 21 23:30:33 2009
New Revision: 29947

Log:
Move OpenGL-related messages that have large output from MSGL_V to MSGL_DGB2.

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Sat Nov 21 23:27:40 2009	(r29946)
+++ trunk/libvo/gl_common.c	Sat Nov 21 23:30:33 2009	(r29947)
@@ -339,7 +339,7 @@ static void getFunctions(void *(*getProc
   strcpy(allexts, extensions);
   strcat(allexts, " ");
   strcat(allexts, ext2);
-  mp_msg(MSGT_VO, MSGL_V, "OpenGL extensions string:\n%s\n", allexts);
+  mp_msg(MSGT_VO, MSGL_DBG2, "OpenGL extensions string:\n%s\n", allexts);
   if (!getProcAddress)
     getProcAddress = setNull;
   for (dsc = extfuncs; dsc->funcptr; dsc++) {
@@ -1166,7 +1166,7 @@ int loadGPUProgram(GLenum target, char *
       glGetString(GL_PROGRAM_ERROR_STRING), &prog[err]);
     return 0;
   }
-  if (!GetProgramiv || !mp_msg_test(MSGT_VO, MSGL_V))
+  if (!GetProgramiv || !mp_msg_test(MSGT_VO, MSGL_DBG2))
     return 1;
   mp_msg(MSGT_VO, MSGL_V, "[gl] Program statistics:\n");
   for (i = 0; progstats[i].name; i++) {
@@ -1262,7 +1262,7 @@ static void glSetupYUVFragprog(gl_conver
       mp_msg(MSGT_VO, MSGL_ERR, "[gl] unknown conversion type %i\n", YUV_CONVERSION(type));
       break;
   }
-  mp_msg(MSGT_VO, MSGL_V, "[gl] generated fragment program:\n%s\n", yuv_prog);
+  mp_msg(MSGT_VO, MSGL_DBG2, "[gl] generated fragment program:\n%s\n", yuv_prog);
   loadGPUProgram(GL_FRAGMENT_PROGRAM, yuv_prog);
   free(yuv_prog);
 }


More information about the MPlayer-cvslog mailing list