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/hb.c | |
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/hb.c')
-rw-r--r-- | libhb/hb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index bd7999d7e..5c0c66b2b 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -1551,7 +1551,7 @@ void hb_start( hb_handle_t * h ) h->paused = 0; h->work_die = 0; - h->work_thread = hb_work_init( h, h->jobs, &h->work_die, &h->work_error, &h->current_job ); + h->work_thread = hb_work_init( h->jobs, &h->work_die, &h->work_error, &h->current_job ); } /** |