[vlc-devel] [PATCH] logger/file: Add range for log-verbose option
Rémi Denis-Courmont
remi at remlab.net
Sat Jul 22 03:16:58 CEST 2017
Le 22 juillet 2017 07:47:51 GMT+08:00, Marvin Scholz <epirat07 at gmail.com> a écrit :
>---
> 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)
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
The numbers are not very meaningful to humans. You should rather use a choice list.
--
Rémi Denis-Courmont
Typed on an inconvenient virtual keyboard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170722/16f4c7ef/attachment.html>
More information about the vlc-devel
mailing list