[vlc-commits] avcodec: support logs with AV_LOG_INFO

Jean-Baptiste Kempf git at videolan.org
Thu Sep 7 12:17:50 CEST 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep  7 12:17:08 2017 +0200| [5f614d620f71c64e1d2364d9e31205ccff93e221] | committer: Jean-Baptiste Kempf

avcodec: support logs with AV_LOG_INFO

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

 modules/codec/avcodec/avcommon.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/avcodec/avcommon.h b/modules/codec/avcodec/avcommon.h
index 4c917703c2..0b33023595 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -73,6 +73,9 @@ static inline void vlc_init_avutil(vlc_object_t *obj)
         case VLC_MSG_WARN:
             level = AV_LOG_WARNING;
             break;
+        case VLC_MSG_INFO:
+            level = AV_LOG_INFO;
+            break;
         case VLC_MSG_DBG:
             level = AV_LOG_VERBOSE;
         default:



More information about the vlc-commits mailing list