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

Filip Roséen filip at videolabs.io
Fri May 6 19:08:52 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 33320a9..8c0b704 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