mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 17:42:17 +00:00
Announce SMP support for Win32.
Don't hardcode dwNumberOfProcessors=1 for Win32 anymore; the mutex/event code is still far from perfect, but now good enough that I can't find any codecs that breaks with this (tested on a quad with various codecs). This tells codecs they can use more than one core if they want to (some already did, by launching multiple threads even when told there was only a single core). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30926 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9e8f301f22
commit
d5f3f8caab
@ -1182,13 +1182,6 @@ static void WINAPI expGetSystemInfo(SYSTEM_INFO* si)
|
||||
}
|
||||
}
|
||||
fclose (f);
|
||||
/*
|
||||
* ad hoc fix for smp machines.
|
||||
* some problems on WaitForSingleObject,CreateEvent,SetEvent
|
||||
* CreateThread ...etc..
|
||||
*
|
||||
*/
|
||||
cachedsi.dwNumberOfProcessors=1;
|
||||
}
|
||||
#endif /* __linux__ */
|
||||
cache = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user