diff options
author | Janne Grunau <janne-libav@jannau.net> | 2011-12-21 01:18:01 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-12-22 21:50:07 +0100 |
commit | ea4d5f48373ab856e01a3cf05426db6e823e01d1 (patch) | |
tree | 0821c1f58e1ff129e798e959f758ae3f11fff81d /libavfilter/vf_setpts.c | |
parent | f77f640b3035d357a6c6ffcea243c7ea0d8ebc67 (diff) | |
download | ffmpeg-ea4d5f48373ab856e01a3cf05426db6e823e01d1.tar.gz |
linux: use number of CPUs as automatic thread count
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.
Diffstat (limited to 'libavfilter/vf_setpts.c')
0 files changed, 0 insertions, 0 deletions