[MPlayer-dev-eng] [PATCH] Autodetect # of available CPUs

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jul 1 10:59:21 CEST 2007


Hello,
On Sun, Jul 01, 2007 at 04:12:45PM +0800, Zuxy Meng wrote:
> The patch enables mplayer to detect the # of CPUs available to the
> process, and sets lavdopts and lavcopts accordingly. Much of the code
> is copied from x264 and I've tested it on Windows, Linux and SunOS.

Since using threads affects encoding quality and debugging and this kind
of code also means lots of ugly OS-specific code I don't really find it
desirable.

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list