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

reimar subversion at mplayerhq.hu
Tue Dec 23 20:31:56 CET 2008


Author: reimar
Date: Tue Dec 23 20:31:56 2008
New Revision: 28187

Log:
Do not default to rectangle=2, it is at least for ATI HD4850 cards with 8.12 drivers 20% slower at HD resolutions

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Tue Dec 23 20:10:40 2008	(r28186)
+++ trunk/libvo/vo_gl.c	Tue Dec 23 20:31:56 2008	(r28187)
@@ -407,7 +407,7 @@ static void autodetectGlExtensions(void)
   int is_ati = strstr(vendor, "ATI") != NULL;
   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") ?      2 : 0;
+  if (use_rectangle == -1) use_rectangle = strstr(extensions, "_texture_non_power_of_two") ?      0 : 0;
 }
 
 /**



More information about the MPlayer-cvslog mailing list