[vlc-commits] Reduce trace verbosity for well known "unknown" components

Denis Charmet git at videolan.org
Sat Mar 22 20:43:42 CET 2014


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Sat Mar 22 20:42:52 2014 +0100| [e3b2ec7e15eeb3abcc81ac0dd4566bf1c0bba8c2] | committer: Denis Charmet

Reduce trace verbosity for well known "unknown" components

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

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

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 81657ca..f4eb523 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -189,6 +189,16 @@ void matroska_segment_c::LoadCues( KaxCues *cues )
                                 cbnum.ReadData( es.I_O() );
                                 idx.i_block_number = uint32( cbnum );
                             }
+#if LIBMATROSKA_VERSION >= 0x010401
+                            else if( MKV_IS_ID( el, KaxCueRelativePosition ) )
+                            {
+                                /* For future use */
+                            }
+                            else if( MKV_IS_ID( el, KaxCueDuration ) )
+                            {
+                                /* For future use */
+                            }
+#endif
                             else
                             {
                                 msg_Dbg( &sys.demuxer, "         * Unknown (%s)", typeid(*el).name() );



More information about the vlc-commits mailing list