Commit 9d69cb37 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

mkv: add cluster position info from cues

Every cue in the matroska format is based on the location of the cluster
in which it is part of, as such we should add this information (cluster
position) to the code responsible for seeking.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 332a9398
......@@ -168,6 +168,8 @@ void matroska_segment_c::LoadCues( KaxCues *cues )
{
kccp_ptr->ReadData( es.I_O() );
cue_position = segment->GetGlobalPosition( static_cast<uint64>( *kccp_ptr ) );
_seeker.add_cluster_position( cue_position );
}
else if( MKV_CHECKED_PTR_DECL ( kcbn_ptr, KaxCueBlockNumber, el ) )
{
......
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