Commit 7758e05f authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

mkv: retrieve 2nd seekhead pos, when parsing first seekhead, and add a debug...

mkv: retrieve 2nd seekhead pos, when parsing first seekhead, and add a debug if an Unknown element was seen there.
parent 1d6f5ed5
...@@ -1029,6 +1029,7 @@ public: ...@@ -1029,6 +1029,7 @@ public:
,i_cues_position(-1) ,i_cues_position(-1)
,i_chapters_position(-1) ,i_chapters_position(-1)
,i_tags_position(-1) ,i_tags_position(-1)
,i_seekhead_position(-1)
,cluster(NULL) ,cluster(NULL)
,i_block_pos(0) ,i_block_pos(0)
,i_cluster_pos(0) ,i_cluster_pos(0)
...@@ -1113,6 +1114,7 @@ public: ...@@ -1113,6 +1114,7 @@ public:
int64_t i_cues_position; int64_t i_cues_position;
int64_t i_chapters_position; int64_t i_chapters_position;
int64_t i_tags_position; int64_t i_tags_position;
int64_t i_seekhead_position;
KaxCluster *cluster; KaxCluster *cluster;
uint64 i_block_pos; uint64 i_block_pos;
...@@ -4238,6 +4240,13 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead ) ...@@ -4238,6 +4240,13 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead )
msg_Dbg( &sys.demuxer, "| | | = tags at %"PRId64, i_pos ); msg_Dbg( &sys.demuxer, "| | | = tags at %"PRId64, i_pos );
i_tags_position = segment->GetGlobalPosition( i_pos ); i_tags_position = segment->GetGlobalPosition( i_pos );
} }
else if( id == KaxSeekHead::ClassInfos.GlobalId )
{
msg_Dbg( &sys.demuxer, "| | | = seekhead at %"PRId64, i_pos );
i_seekhead_position = segment->GetGlobalPosition( i_pos );
}
else
msg_Dbg( &sys.demuxer, "| | | = unknown at %"PRId64, i_pos );
} }
} }
else else
......
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