From 1be7a8e58feb0d26cac7067dcd289aec2aebb2e7 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 12 Jun 2015 20:52:01 +0000 Subject: libhb: Allow log level changes and update checks *after* hb_init() - In the CLI, this allows calling hb_init() before parsing args, which permits us to see any libhb log messages that are generated during option parsing. These messages were hidden before. - In the GUIs, this allows dynamic changes to log level. Previously an application restart was required. I have only updated the LinGui to take advantage of this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7295 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libhb/common.c') diff --git a/libhb/common.c b/libhb/common.c index dae8d42b5..6b7859461 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -2839,12 +2839,6 @@ void hb_valog( hb_debug_level_t level, const char * prefix, const char * log, va struct tm * now; char preamble[362]; - if( !getenv( "HB_DEBUG" ) ) - { - /* We don't want to print it */ - return; - } - if( global_verbosity_level < level ) { /* Hiding message */ -- cgit v1.2.3