]> git.sesse.net Git - vlc/commit
avcodec: default to 2 threads on encoding
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 29 Apr 2010 09:41:08 +0000 (12:41 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 29 Apr 2010 18:50:08 +0000 (21:50 +0300)
commit6aa2e63da7d3f73b922027d5c07cb91ab7065459
treee663e39663c6a3fbfe66f87957e5289147178e2b
parent13c520d1c893ebc8420804d1c7b42c1e8fbab9b8
avcodec: default to 2 threads on encoding

Multiple cores are pretty common nowdays, so shouldn't be big issue. Maybe
better would be implement cpu-core counter, like in x264, but at the moment
only avcodec-module doesn't seem to handle i_threads=0 as automatic.
modules/codec/avcodec/encoder.c