[vlc-devel] [PATCH 1/2] demux: mkv: debug track number

Francois Cartegnie fcvlcdev at free.fr
Thu Sep 10 22:14:42 CEST 2020


---
 modules/demux/mkv/mkv.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 20c5f78326..4685968f2b 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -539,7 +539,8 @@ void BlockDecode( demux_t *p_demux, KaxBlock *block, KaxSimpleBlock *simpleblock
 
     if( track.fmt.i_cat != DATA_ES && track.p_es == NULL )
     {
-        msg_Err( p_demux, "unknown track number" );
+        msg_Err( p_demux, "unknown track number %u (%4.4s)",
+                 track.i_number, (const char *) &track.fmt.i_codec );
         return;
     }
 
-- 
2.25.4



More information about the vlc-devel mailing list