[vlc-commits] logger: android: display thread id

Thomas Guillem git at videolan.org
Thu May 26 13:59:58 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu May 26 13:58:59 2016 +0200| [0fd217b29c5b14ba8058c819fc96ff783e6ca06e] | committer: Thomas Guillem

logger: android: display thread id

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

 modules/logger/android.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/logger/android.c b/modules/logger/android.c
index 909621d..7e2d0e4 100644
--- a/modules/logger/android.c
+++ b/modules/logger/android.c
@@ -46,8 +46,8 @@ static void AndroidPrintMsg(void *opaque, int type, const vlc_log_t *p_item,
     if (verbose < type)
         return;
 
-    if (asprintf(&format2, "[%0*"PRIxPTR"] %s %s: %s",
-                 ptr_width, p_item->i_object_id, p_item->psz_module,
+    if (asprintf(&format2, "[%0*"PRIxPTR"/%lx] %s %s: %s",
+                 ptr_width, p_item->i_object_id, p_item->tid, p_item->psz_module,
                  p_item->psz_object_type, format) < 0)
         return;
     switch (type) {



More information about the vlc-commits mailing list