summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/hb.c9
-rw-r--r--libhb/hb.h3
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs6
3 files changed, 0 insertions, 18 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 84347d768..be4d75b9b 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -1541,15 +1541,6 @@ void hb_get_state2( hb_handle_t * h, hb_state_t * s )
}
/**
- * Called in MacGui in UpdateUI to check
- * for a new scan being completed to set a new source
- */
-int hb_get_scancount( hb_handle_t * h)
- {
- return h->scanCount;
- }
-
-/**
* Closes access to libhb by freeing the hb_handle_t handle ontained in hb_init.
* @param _h Pointer to handle to hb_handle_t.
*/
diff --git a/libhb/hb.h b/libhb/hb.h
index cb53d0d9d..739f16b3f 100644
--- a/libhb/hb.h
+++ b/libhb/hb.h
@@ -117,9 +117,6 @@ hb_interjob_t * hb_interjob_get( hb_handle_t * );
Look at test/test.c to see how to use it. */
void hb_get_state( hb_handle_t *, hb_state_t * );
void hb_get_state2( hb_handle_t *, hb_state_t * );
-/* hb_get_scancount() is called by the MacGui in UpdateUI to
- check for a new scan during HB_STATE_WORKING phase */
-int hb_get_scancount( hb_handle_t * );
/* hb_close()
Aborts all current jobs if any, frees memory. */
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs
index dab5d1bb3..d22545c1e 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs
@@ -136,12 +136,6 @@ namespace HandBrake.ApplicationServices.Interop.HbLib
public static extern void hb_stop(IntPtr hbHandle);
- /// Return Type: int
- ///param0: hb_handle_t*
- [DllImport("hb.dll", EntryPoint = "hb_get_scancount", CallingConvention = CallingConvention.Cdecl)]
- public static extern int hb_get_scancount(IntPtr hbHandle);
-
-
/// Return Type: void
///param0: hb_handle_t**
[DllImport("hb.dll", EntryPoint = "hb_close", CallingConvention = CallingConvention.Cdecl)]