summaryrefslogtreecommitdiffstats
path: root/libhb/hb.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-06-12 20:52:01 +0000
committerjstebbins <[email protected]>2015-06-12 20:52:01 +0000
commit1be7a8e58feb0d26cac7067dcd289aec2aebb2e7 (patch)
tree07713faf52c6dd0dbf129ec35aecd217bf00b39e /libhb/hb.h
parentf2b0998a8f4ef77d3ef791b64ad032c1bb8348ea (diff)
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
Diffstat (limited to 'libhb/hb.h')
-rw-r--r--libhb/hb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/hb.h b/libhb/hb.h
index a838c943d..cbf25f712 100644
--- a/libhb/hb.h
+++ b/libhb/hb.h
@@ -31,7 +31,8 @@ extern "C" {
void hb_register( hb_work_object_t * );
void hb_register_logger( void (*log_cb)(const char* message) );
hb_handle_t * hb_init( int verbose, int update_check );
-hb_handle_t * hb_init_dl ( int verbose, int update_check ); // hb_init for use with dylib
+void hb_update_poll(hb_handle_t *h);
+void hb_log_level_set(hb_handle_t *h, int level);
void hb_hwd_set_enable( hb_handle_t *h, uint8_t enable );
int hb_hwd_enabled( hb_handle_t *h );