Hi,

On Thu, Dec 22, 2011 at 12:22 PM, Janne Grunau <[email protected]> wrote:
> Use sched_getaffinity to determine the number of logical CPUs.
> Limits the number of threads to 16 since slice threading of H.264
> seems to be buggy with more than 16 threads.
> ---
>  configure            |    2 ++
>  libavcodec/pthread.c |   43 +++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 45 insertions(+), 0 deletions(-)

OK.

(You could make the max depend on slice vs. frame but I think that's
silly, 16 is a good enough max for most use cases.)

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to