[vlc-commits] demux:mkv: log the tag target type even if we don't use it

Steve Lhomme git at videolan.org
Mon Feb 26 10:12:00 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Feb 22 17:52:39 2018 +0100| [a3c5656adc7019e0877ba4cc9c46706ac6048b0c] | committer: Hugo Beauzée-Luyssen

demux:mkv: log the tag target type even if we don't use it

(cherry-picked from commit b3366ce030fe2bfe93f65e3e9e2d87d12a9ff9e6)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 modules/demux/mkv/matroska_segment.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index cfd7e818f1..e774af4d93 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -414,6 +414,12 @@ void matroska_segment_c::LoadTags( KaxTags *tags )
                                 tag.i_uid = static_cast<uint64>( *ktau_ptr );
                                 msg_Dbg( &sys.demuxer, "|   |   + AttachmentUID: %" PRIu64, tag.i_uid);
                             }
+                            if( MKV_CHECKED_PTR_DECL ( ktttv_ptr, KaxTagTargetType, el ) )
+                            {
+                                ktttv_ptr->ReadData( es.I_O() );
+
+                                msg_Dbg( &sys.demuxer, "|   |   + TargetType: %u", ktttv_ptr->GetValue().c_str());
+                            }
                             else
                             {
                                 msg_Dbg( &sys.demuxer, "|   |   + LoadTag Unknown (%s)", typeid( *el ).name() );



More information about the vlc-commits mailing list