summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
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 );