summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.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 /gtk/src/hb-backend.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 'gtk/src/hb-backend.h')
-rw-r--r--gtk/src/hb-backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.h b/gtk/src/hb-backend.h
index 940a4340a..42fefe965 100644
--- a/gtk/src/hb-backend.h
+++ b/gtk/src/hb-backend.h
@@ -89,6 +89,7 @@ float ghb_vquality_default(signal_user_data_t *ud);
void ghb_combo_init(signal_user_data_t *ud);
void ghb_backend_init(gint debug);
+void ghb_log_level_set(int level);
void ghb_backend_close(void);
void ghb_add_job(hb_handle_t *h, GhbValue *js, gint unique_id);
void ghb_remove_job(gint unique_id);