mirror of https://github.com/mpv-player/mpv
d7dfbc8610
Our own code was introduced when FFmpeg didn't provide this API (or maybe didn't even have a way to determine the CPU count). But now, av_cpu_count() is available for all FFmpeg/Libav versions we support, and there's no reason to have our own code. libavutil's code seems to be slightly more sophisticated than our's, and it's possible that the detected CPU count is different on some platforms after this change. |
||
---|---|---|
.. | ||
ar | ||
win32 | ||
atomics.h | ||
compiler.h | ||
endian.h | ||
glob-win.c | ||
io.c | ||
io.h | ||
macosx_application.h | ||
macosx_application.m | ||
macosx_application_objc.h | ||
macosx_compat.h | ||
macosx_events.h | ||
macosx_events.m | ||
macosx_events_objc.h | ||
macosx_versions.h | ||
mpv.exe.manifest | ||
mpv.rc | ||
path-macosx.m | ||
path-win.c | ||
path.h | ||
semaphore.h | ||
semaphore_osx.c | ||
subprocess-posix.c | ||
subprocess-win.c | ||
subprocess.h | ||
terminal-unix.c | ||
terminal-win.c | ||
terminal.h | ||
threads.c | ||
threads.h | ||
timer-darwin.c | ||
timer-linux.c | ||
timer-win2.c | ||
timer.c | ||
timer.h | ||
w32_keyboard.c | ||
w32_keyboard.h | ||
win32-console-wrapper.c |