[MPlayer-cvslog] r30510 - trunk/libvo/vo_gl.c
reimar
subversion at mplayerhq.hu
Fri Feb 5 08:12:06 CET 2010
Author: reimar
Date: Fri Feb 5 08:12:05 2010
New Revision: 30510
Log:
Print messages only after we are sure preinit will not fail anymore.
Modified:
trunk/libvo/vo_gl.c
Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c Thu Feb 4 23:46:45 2010 (r30509)
+++ trunk/libvo/vo_gl.c Fri Feb 5 08:12:05 2010 (r30510)
@@ -1159,11 +1159,6 @@ static int preinit(const char *arg)
"\n" );
return -1;
}
- if (many_fmts)
- mp_msg(MSGT_VO, MSGL_INFO, "[gl] using extended formats. "
- "Use -vo gl:nomanyfmts if playback fails.\n");
- mp_msg(MSGT_VO, MSGL_V, "[gl] Using %d as slice height "
- "(0 means image height).\n", slice_height);
if (!init_mpglcontext(&glctx, gltype))
goto err_out;
if (use_yuv == -1) {
@@ -1173,6 +1168,11 @@ static int preinit(const char *arg)
goto err_out;
autodetectGlExtensions();
}
+ if (many_fmts)
+ mp_msg(MSGT_VO, MSGL_INFO, "[gl] using extended formats. "
+ "Use -vo gl:nomanyfmts if playback fails.\n");
+ mp_msg(MSGT_VO, MSGL_V, "[gl] Using %d as slice height "
+ "(0 means image height).\n", slice_height);
return 0;
More information about the MPlayer-cvslog
mailing list