Hi, Implemented number CPUs detection for all mayor systems. Mac OS X and *BSD patch is untested, Windows patch only cross-compiled. Uses now sched_getaffinity on Linux. The number of logical CPUs + 1 is used as thread count. This is a compromise for machines with hyperthreading. At least for H264 number of physical or "real" CPU cores plus 2 or 3 would have been slightly faster.
Janne ps: ping on '[PATCH 1/3] options: set minimum for "threads" to zero' _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
