diff options
author | Rodeo <[email protected]> | 2013-03-18 18:00:50 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-18 18:00:50 +0000 |
commit | fd2a327a0d531e7ca654efa6c387acd6a18d0b8b (patch) | |
tree | cd163326f1a6345db7df2cb01cbd6063f5470c1c /libhb/hb.c | |
parent | b15a531495fdd01eee3135055d2f52d25daf1967 (diff) |
hb_system_sleep: minor cleanup after last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5337 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 5c0c66b2b..56df9a9be 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -1570,8 +1570,6 @@ void hb_pause( hb_handle_t * h ) hb_lock( h->state_lock ); h->state.state = HB_STATE_PAUSED; hb_unlock( h->state_lock ); - - hb_allow_sleep( h ); } } @@ -1583,8 +1581,6 @@ void hb_resume( hb_handle_t * h ) { if( h->paused ) { - hb_prevent_sleep( h ); - #define job hb_current_job( h ) if( job->st_pause_date != -1 ) { |