summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-02-26 16:48:04 +0000
committersr55 <[email protected]>2011-02-26 16:48:04 +0000
commit48aebee9e159dd5b8e4e91af0f221d8b00ddbe8f (patch)
treeb9a4aed34197b628abbcd087d3084672442b684b /libhb
parentfdbb186dddc2e8c299e88dd45c7f473a29a8a0f0 (diff)
Remove the set cpu count option as it doesn't do anything now
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3812 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/hb.c12
-rw-r--r--libhb/hb.h5
2 files changed, 0 insertions, 17 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index da09ea0a6..60b0bcc33 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -525,18 +525,6 @@ int hb_check_update( hb_handle_t * h, char ** version )
}
/**
- * Sets the cpu count to the desired value.
- * @param h Handle to hb_handle_t
- * @param cpu_count Number of CPUs to use.
- */
-void hb_set_cpu_count( hb_handle_t * h, int cpu_count )
-{
- cpu_count = MAX( 1, cpu_count );
- cpu_count = MIN( cpu_count, 64 );
- h->cpu_count = cpu_count;
-}
-
-/**
* Deletes current previews associated with titles
* @param h Handle to hb_handle_t
*/
diff --git a/libhb/hb.h b/libhb/hb.h
index 6de2fcb74..38634b2a5 100644
--- a/libhb/hb.h
+++ b/libhb/hb.h
@@ -28,11 +28,6 @@ int hb_get_build( hb_handle_t * );
negative value otherwise. */
int hb_check_update( hb_handle_t * h, char ** version );
-/* hb_set_cpu_count()
- Force libhb to act as if you had X CPU(s).
- Default is to use the detected count (see also hb_get_cpu_count() in
- ports.h) */
-void hb_set_cpu_count( hb_handle_t *, int );
char * hb_dvd_name( char * path );
void hb_dvd_set_dvdnav( int enable );