Commit d91338c6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: stop spamming about "unknown seekhead reference"

Seriously, HD logs have 12000 of lines of logs because of that... This is beyond ridiculous.
parent ebc42905
...@@ -60,7 +60,9 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead ) ...@@ -60,7 +60,9 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead )
EbmlId id = EbmlVoid::ClassInfos.GlobalId; EbmlId id = EbmlVoid::ClassInfos.GlobalId;
int64_t i_pos = -1; int64_t i_pos = -1;
#ifdef MKV_DEBUG
msg_Dbg( &sys.demuxer, "| | + Seek" ); msg_Dbg( &sys.demuxer, "| | + Seek" );
#endif
ep->Down(); ep->Down();
while( ( l = ep->Get() ) != NULL ) while( ( l = ep->Get() ) != NULL )
{ {
...@@ -121,8 +123,10 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead ) ...@@ -121,8 +123,10 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead )
msg_Dbg( &sys.demuxer, "| - attachments at %"PRId64, i_pos ); msg_Dbg( &sys.demuxer, "| - attachments at %"PRId64, i_pos );
LoadSeekHeadItem( KaxAttachments::ClassInfos, i_pos ); LoadSeekHeadItem( KaxAttachments::ClassInfos, i_pos );
} }
#ifdef MKV_DEBUG
else else
msg_Dbg( &sys.demuxer, "| - unknown seekhead reference at %"PRId64, i_pos ); msg_Dbg( &sys.demuxer, "| - unknown seekhead reference at %"PRId64, i_pos );
#endif
} }
} }
else else
......
...@@ -110,6 +110,8 @@ extern "C" { ...@@ -110,6 +110,8 @@ extern "C" {
# include <zlib.h> # include <zlib.h>
#endif #endif
#define MKV_DEBUG 0
#define MATROSKA_COMPRESSION_NONE -1 #define MATROSKA_COMPRESSION_NONE -1
#define MATROSKA_COMPRESSION_ZLIB 0 #define MATROSKA_COMPRESSION_ZLIB 0
#define MATROSKA_COMPRESSION_BLIB 1 #define MATROSKA_COMPRESSION_BLIB 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment