vlc | branch: master | Steve Lhomme <[email protected]> | Thu Aug 31 08:45:21 
2017 +0200| [6fa5e61166b848f598a82e772ec72cf5ec5c8d28] | committer: 
Jean-Baptiste Kempf

avcodec: map our debug level to the ffmpeg debug level

otherwise we don't even get debug messages at all

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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 0b33023595..d5ccdbc32d 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -78,6 +78,9 @@ static inline void vlc_init_avutil(vlc_object_t *obj)
             break;
         case VLC_MSG_DBG:
             level = AV_LOG_VERBOSE;
+            break;
+        case VLC_MSG_DBG+1:
+            level = AV_LOG_DEBUG;
         default:
             break;
         }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to