diff options
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 390e566d2..06b489306 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -69,11 +69,10 @@ hb_handle_t * hb_init_real( int verbose, int update_check ) hb_handle_t * h = calloc( sizeof( hb_handle_t ), 1 ); uint64_t date; - /* See hb_log() in common.c */ - if( verbose > HB_DEBUG_NONE ) - { + /* See hb_deep_log() and hb_log() in common.c */ + global_verbosity_level = verbose; + if( verbose ) putenv( "HB_DEBUG=1" ); - } /* Check for an update on the website if asked to */ h->build = -1; |