[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.72,1.73

David Holm mswitch at mplayer.dev.hu
Sun Mar 24 19:01:14 CET 2002


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

Modified Files:
	vo_dxr3.c 
Log Message:
Fixed bug in Athlon detection code ;)


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- vo_dxr3.c	24 Mar 2002 15:33:12 -0000	1.72
+++ vo_dxr3.c	24 Mar 2002 18:01:08 -0000	1.73
@@ -515,9 +515,11 @@
 {
 	char devname[80];
 	int fdflags = O_WRONLY;
+	CpuCaps cpucaps;
 
+	GetCpuCaps(&cpucaps);
 	/* Open the control interface */
-	if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) {
+	if ((arg && !strcmp("noprebuf", arg)) || cpucaps.has3DNowExt) {
 		printf("VO: [dxr3] Disabling prebuffering.\n");
 		noprebuf = 1;
 		fdflags |= O_NONBLOCK;




More information about the MPlayer-cvslog mailing list