[vlc-devel] [PATCH 07/30] mkv: added call to IndexAppendCluster in matroska_segment_c::Preload

Filip Roséen filip at videolabs.io
Mon May 9 14:53:01 CEST 2016


It is quite obvious that we should append every Cluster as index, this
includes when doing work during Preload.
---
 modules/demux/mkv/matroska_segment.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 4665fb7..918fffe 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -630,6 +630,7 @@ bool matroska_segment_c::Preload( )
 
             i_cluster_pos = cluster->GetElementPosition();
             ParseCluster( cluster );
+            IndexAppendCluster( cluster );
 
             ep->Down();
             /* stop pre-parsing the stream */
-- 
2.8.2



More information about the vlc-devel mailing list