summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-11-07 16:35:24 +0000
committerjstebbins <[email protected]>2010-11-07 16:35:24 +0000
commita51600727f1c60e80b4790383ab37a2546183545 (patch)
tree4b8832caba4b7f7925c539c51a3291beef558dbb
parentdfef4c517559d25853c9c89906863f641528029b (diff)
Bump cpu count limit from 8 to 64
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3657 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/hb.c2
-rw-r--r--libhb/ports.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 49f1cb9e6..3d669f2b2 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -532,7 +532,7 @@ int hb_check_update( hb_handle_t * h, char ** version )
void hb_set_cpu_count( hb_handle_t * h, int cpu_count )
{
cpu_count = MAX( 1, cpu_count );
- cpu_count = MIN( cpu_count, 8 );
+ cpu_count = MIN( cpu_count, 64 );
h->cpu_count = cpu_count;
}
diff --git a/libhb/ports.c b/libhb/ports.c
index dbfcb66b3..64aad0e77 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -219,7 +219,7 @@ int hb_get_cpu_count()
#endif
cpu_count = MAX( 1, cpu_count );
- cpu_count = MIN( cpu_count, 8 );
+ cpu_count = MIN( cpu_count, 64 );
return cpu_count;
}