[MPlayer-cvslog] r29722 - trunk/libvo/vo_gl.c
reimar
subversion at mplayerhq.hu
Sun Sep 27 16:31:35 CEST 2009
Author: reimar
Date: Sun Sep 27 16:31:35 2009
New Revision: 29722
Log:
Print error instead of crashing when mesa-buffer is used on systems
that do not support it.
Modified:
trunk/libvo/vo_gl.c
Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c Sun Sep 27 16:24:15 2009 (r29721)
+++ trunk/libvo/vo_gl.c Sun Sep 27 16:31:35 2009 (r29722)
@@ -571,6 +571,10 @@ glconfig:
uninitGl();
if (setGlWindow(&gl_vinfo, &gl_context, vo_window) == SET_WINDOW_FAILED)
return -1;
+ if (mesa_buffer && !AllocateMemoryMESA) {
+ mp_msg(MSGT_VO, MSGL_ERR, "Can not enable mesa-buffer because AllocateMemoryMESA was not found\n");
+ mesa_buffer = 0;
+ }
initGl(vo_dwidth, vo_dheight);
return 0;
More information about the MPlayer-cvslog
mailing list