[vlc-commits] logger/android: fix verbosity level

Thomas Guillem git at videolan.org
Fri Oct 21 16:30:58 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Oct 21 16:22:32 2016 +0200| [e8bfe53375bd47ecce0b7a48c1954e8d033cde73] | committer: Thomas Guillem

logger/android: fix verbosity level

Now, Android verbose flags corresponds of the others platforms one
(-vv is enough for full logs).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8bfe53375bd47ecce0b7a48c1954e8d033cde73
---

 modules/logger/android.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/logger/android.c b/modules/logger/android.c
index 7e2d0e4..a2207d4 100644
--- a/modules/logger/android.c
+++ b/modules/logger/android.c
@@ -75,6 +75,7 @@ static vlc_log_cb Open(vlc_object_t *obj, void **sysp)
     if (verbosity < 0)
         return NULL;
 
+    verbosity += VLC_MSG_ERR;
     *sysp = (void *)(uintptr_t)verbosity;
 
     return AndroidPrintMsg;



More information about the vlc-commits mailing list