diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-02 13:08:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-03 14:15:11 +0100 |
commit | 5cdef40a789822c7d859cd756e781b91893f2c0d (patch) | |
tree | 3a12574093364026ed37cfff1257a0a876b50aa0 /COPYING.LGPLv3 | |
parent | 4778b4dd77643267639d824ea33964ee7a98439d (diff) | |
download | ffmpeg-5cdef40a789822c7d859cd756e781b91893f2c0d.tar.gz |
threads: allow thread count of zero
This moves setting the thread count to a minimum of 1 to
frame_thread_init(), allowing a value of zero to propagate
through to the codec if frame threading is not used. This
makes auto-threads work in libx264.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit ff1efc524cb3c60f2f746e3b4550bb1a86c65316)
Diffstat (limited to 'COPYING.LGPLv3')
0 files changed, 0 insertions, 0 deletions