diff options
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 513c27e62..a3e373b0f 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -1819,6 +1819,11 @@ void hb_set_state( hb_handle_t * h, hb_state_t * s ) hb_unlock( h->pause_lock ); } +void hb_set_work_error( hb_handle_t * h, hb_error_code err ) +{ + h->work_error = err; +} + void hb_system_sleep_allow(hb_handle_t *h) { hb_system_sleep_private_enable(h->system_sleep_opaque); |