]> granicus.if.org Git - handbrake/commit
encx264: cleanup.
authorRodeo <tdskywalker@gmail.com>
Sat, 31 Mar 2012 16:03:34 +0000 (16:03 +0000)
committerRodeo <tdskywalker@gmail.com>
Sat, 31 Mar 2012 16:03:34 +0000 (16:03 +0000)
commit80e2601a28514e366932da76a1426008953d93f0
treea8a8f6ba1b8cc9d1f7b59c081799b4219b3e5d99
parent413d57e1534169d26c72fe7b15a6e0ff2d314d97
encx264: cleanup.

libx264 can detect the CPU count, so no need to set the number of threads.
We now use the x264 default, even when sliced threads are enabled.

Move some initializations until after parsing job->advanced_opts.
Width, height and annexb aren't meant to be set by the user.

Only get a new temporary filename if we're actually doing 2-pass encoding.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4568 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/encx264.c