From dc5fee4c54f1d751fc8ff9700faa485e1ada0535 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 7 Nov 2010 16:35:24 +0000 Subject: [PATCH] Bump cpu count limit from 8 to 64 git-svn-id: svn://localhost/HandBrake/trunk@3657 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/hb.c | 2 +- libhb/ports.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/hb.c b/libhb/hb.c index 49f1cb9e..3d669f2b 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 dbfcb66b..64aad0e7 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; } -- 2.11.0