diff options
author | jbrjake <[email protected]> | 2007-05-02 23:26:18 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-05-02 23:26:18 +0000 |
commit | acc0fbfcbf1a3dc278e82166ca304586a916350c (patch) | |
tree | 5e0a2cfe82b237bcc06fc690e0193cda346d3e26 | |
parent | 491e6a34fd58f7b14ccc8f424fb9d6d95f742c81 (diff) |
Tells x264 to use threads=cpus*1.5 instead of threads=cpus. This is because x264 implemented sliceless threading since we last updated the revision we use. The codec now works best with more threads than processors, as odd as that seems at first blush.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@564 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/encx264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 692a327ac..4d97fa769 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -63,7 +63,7 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) x264_param_default( ¶m ); - param.i_threads = hb_get_cpu_count(); + param.i_threads = ( hb_get_cpu_count() * 3 / 2 ); param.i_width = job->width; param.i_height = job->height; param.i_fps_num = job->vrate; |