From b15a531495fdd01eee3135055d2f52d25daf1967 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Mon, 18 Mar 2013 17:59:24 +0000 Subject: hb_system_sleep: allow/prevent sleep from the UI rather than libhb. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- libhb/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libhb/common.h') 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 -- cgit v1.2.3