summaryrefslogtreecommitdiff
path: root/src/modules/emotion/libvlc
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2016-03-25 09:05:37 +0100
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-28 16:40:02 +0900
commit50d9f63c2e8e3773f3e433168c3b8020ac192ee4 (patch)
treeb2e46fb660e1eea38bb56138e21140eb13ae3f53 /src/modules/emotion/libvlc
parent7d3e96757d8467d9345ea83f53e77b4d98003ccf (diff)
emotion/libvlc: log: print vlc module and id
Diffstat (limited to 'src/modules/emotion/libvlc')
-rw-r--r--src/modules/emotion/libvlc/emotion_libvlc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/emotion/libvlc/emotion_libvlc.c b/src/modules/emotion/libvlc/emotion_libvlc.c
index d5fd847bbb..e256a56ec3 100644
--- a/src/modules/emotion/libvlc/emotion_libvlc.c
+++ b/src/modules/emotion/libvlc/emotion_libvlc.c
@@ -1673,6 +1673,10 @@ libvlc_log(void *data EINA_UNUSED, int level,
1673 const char *fmt, va_list args) 1673 const char *fmt, va_list args)
1674{ 1674{
1675 Eina_Log_Level eina_log_level; 1675 Eina_Log_Level eina_log_level;
1676 const char *name, *header;
1677 uintptr_t id;
1678
1679 libvlc_log_get_object(ctx, &name, &header, &id);
1676 switch (level) 1680 switch (level)
1677 { 1681 {
1678 case LIBVLC_DEBUG: 1682 case LIBVLC_DEBUG:
@@ -1693,7 +1697,7 @@ libvlc_log(void *data EINA_UNUSED, int level,
1693 break; 1697 break;
1694 } 1698 }
1695 eina_log_vprint(_emotion_libvlc_log_domain, eina_log_level, 1699 eina_log_vprint(_emotion_libvlc_log_domain, eina_log_level,
1696 __FILE__, __FUNCTION__, __LINE__, fmt, args); 1700 "", name, id, fmt, args);
1697} 1701}
1698 1702
1699static libvlc_instance_t * 1703static libvlc_instance_t *