mirror of https://github.com/mpv-player/mpv
{f}emms is only needed on x86
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3161 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
30feb55770
commit
b6809f179f
|
@ -808,6 +808,7 @@ if(verbose>1){
|
||||||
} // switch
|
} // switch
|
||||||
//------------------------ frame decoded. --------------------
|
//------------------------ frame decoded. --------------------
|
||||||
|
|
||||||
|
#ifdef ARCH_X86
|
||||||
// some codecs is broken, and doesn't restore MMX state :(
|
// some codecs is broken, and doesn't restore MMX state :(
|
||||||
// it happens usually with broken/damaged files.
|
// it happens usually with broken/damaged files.
|
||||||
if(gCpuCaps.has3DNow){
|
if(gCpuCaps.has3DNow){
|
||||||
|
@ -816,6 +817,7 @@ if(gCpuCaps.has3DNow){
|
||||||
else if(gCpuCaps.hasMMX){
|
else if(gCpuCaps.hasMMX){
|
||||||
__asm __volatile ("emms\n\t":::"memory");
|
__asm __volatile ("emms\n\t":::"memory");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;
|
t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue