[MPlayer-cvslog] r28188 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Tue Dec 23 21:56:47 CET 2008


Author: reimar
Date: Tue Dec 23 21:56:45 2008
New Revision: 28188

Log:
Warn when using features that are broken due to ATI driver bugs.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Tue Dec 23 20:31:56 2008	(r28187)
+++ trunk/libvo/vo_gl.c	Tue Dec 23 21:56:45 2008	(r28188)
@@ -408,6 +408,9 @@ static void autodetectGlExtensions(void)
   if (ati_hack      == -1) ati_hack      = is_ati;
   if (force_pbo     == -1) force_pbo     = strstr(extensions, "_pixel_buffer_object")      ? is_ati : 0;
   if (use_rectangle == -1) use_rectangle = strstr(extensions, "_texture_non_power_of_two") ?      0 : 0;
+  if (is_ati && (lscale == 1 || lscale == 2 || cscale == 1 || cscale == 2))
+    mp_msg(MSGT_VO, MSGL_WARN, "Selected scaling mode may be broken on ATI cards.\n"
+             "Tell _them_ to fix GL_REPEAT if you have issues.\n");
 }
 
 /**



More information about the MPlayer-cvslog mailing list