[Mplayer-cvslog] CVS: main dec_video.c,1.68,1.69
Jürgen Keil
jkeil at mplayer.dev.hu
Tue Nov 27 17:55:14 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24064
Modified Files:
dec_video.c
Log Message:
{f}emms is only needed on x86
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- dec_video.c 26 Nov 2001 21:45:48 -0000 1.68
+++ dec_video.c 27 Nov 2001 16:55:12 -0000 1.69
@@ -808,6 +808,7 @@
} // switch
//------------------------ frame decoded. --------------------
+#ifdef ARCH_X86
// some codecs is broken, and doesn't restore MMX state :(
// it happens usually with broken/damaged files.
if(gCpuCaps.has3DNow){
@@ -816,6 +817,7 @@
else if(gCpuCaps.hasMMX){
__asm __volatile ("emms\n\t":::"memory");
}
+#endif
t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;
More information about the MPlayer-cvslog
mailing list