[vlc-devel] [PATCH] logger/file: Add range for log-verbose option
Marvin Scholz
epirat07 at gmail.com
Sat Jul 22 01:47:51 CEST 2017
---
modules/logger/file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/logger/file.c b/modules/logger/file.c
index dfb0113750..879d3f65e1 100644
--- a/modules/logger/file.c
+++ b/modules/logger/file.c
@@ -215,6 +215,6 @@ vlc_module_begin()
N_("Log filename"), N_("Specify the log filename."), false)
add_string("logmode", "text", LOGMODE_TEXT, LOGMODE_LONGTEXT, false)
change_string_list(mode_list, mode_list_text)
- add_integer("log-verbose", -1, LOGVERBOSE_TEXT, LOGVERBOSE_LONGTEXT,
- false)
+ add_integer_with_range("log-verbose", -1, -1, VLC_MSG_DBG - VLC_MSG_ERR,
+ LOGVERBOSE_TEXT, LOGVERBOSE_LONGTEXT, false)
vlc_module_end ()
--
2.11.0 (Apple Git-81)
More information about the vlc-devel
mailing list