[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.68,1.69

David Holm mswitch at mplayer.dev.hu
Sat Mar 23 17:36:45 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv27075/libvo

Modified Files:
	vo_dxr3.c 
Log Message:
Disable prebuffering on athlons (3DNowEx) as the ones running at 266MHz
bus speed has troubles with it...


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- vo_dxr3.c	23 Mar 2002 15:43:17 -0000	1.68
+++ vo_dxr3.c	23 Mar 2002 16:36:42 -0000	1.69
@@ -78,6 +78,7 @@
 #include "aspect.h"
 #include "../postproc/rgb2rgb.h"
 #include "../postproc/swscale.h"
+#include "../cpudetect.h"
 
 /*#ifndef USE_LIBAVCODEC*/
 #  define USE_LIBFAME
@@ -518,7 +519,7 @@
 	int fdflags = O_WRONLY;
 
 	/* Open the control interface */
-	if (arg && !strcmp("noprebuf", arg)) {
+	if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) {
 		printf("VO: [dxr3] Disabling prebuffering.\n");
 		noprebuf = 1;
 		fdflags |= O_NONBLOCK;




More information about the MPlayer-cvslog mailing list