summaryrefslogtreecommitdiffstats
path: root/libhb/hb.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-18 18:07:48 +0000
committerRodeo <[email protected]>2013-03-18 18:07:48 +0000
commit30ddd53e26b3e2aa5930c6cf985f938e36985aed (patch)
tree3399efbb5727360437672b8918a32dab72420e22 /libhb/hb.h
parentb0aa37a7ff20acafe7a28fe67c69699515d963c5 (diff)
hb_system_sleep: refactoring.
Also: - release power assertions before freeing them - actually free the power assertions in hb_close() (previously unused) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5340 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.h')
-rw-r--r--libhb/hb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/hb.h b/libhb/hb.h
index 07100c946..e4c81a4e4 100644
--- a/libhb/hb.h
+++ b/libhb/hb.h
@@ -95,8 +95,8 @@ void hb_pause( hb_handle_t * );
void hb_resume( hb_handle_t * );
void hb_stop( hb_handle_t * );
-void hb_prevent_sleep( hb_handle_t * );
-void hb_allow_sleep( hb_handle_t * );
+void hb_system_sleep_allow(hb_handle_t*);
+void hb_system_sleep_prevent(hb_handle_t*);
/* Persistent data between jobs. */
typedef struct hb_interjob_s