diff options
author | Rodeo <[email protected]> | 2013-03-18 17:59:24 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-18 17:59:24 +0000 |
commit | b15a531495fdd01eee3135055d2f52d25daf1967 (patch) | |
tree | 28bd90d22c91969d12f1df35a561e6326771db98 /libhb/common.h | |
parent | 17d69968280460c2c16d2e26e0a5232bde2b2adb (diff) |
hb_system_sleep: allow/prevent sleep from the UI rather than libhb.
The code that sets/unsets the "power assertions" is still in libhb.
Patch by Jérôme Lacube. Thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5336 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index bfd4b9b00..c73ac871f 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -1067,4 +1067,7 @@ const char * const * hb_h264_levels(); // x264 option name/synonym helper const char * hb_x264_encopt_name( const char * name ); +void hb_prevent_sleep( hb_handle_t * ); +void hb_allow_sleep( hb_handle_t * ); + #endif |