[vlc-commits] mkv: added call to IndexAppendCluster in matroska_segment_c::Preload

Filip Roséen git at videolan.org
Mon May 9 15:09:25 CEST 2016


vlc | branch: master | Filip Roséen <filip at videolabs.io> | Mon May  9 14:53:01 2016 +0200| [7cb23e269899aea1f89a90b2b1e0d99f07a26f38] | committer: Jean-Baptiste Kempf

mkv: added call to IndexAppendCluster in matroska_segment_c::Preload

It is quite obvious that we should append every Cluster as index, this
includes when doing work during Preload.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7cb23e269899aea1f89a90b2b1e0d99f07a26f38
---

 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 */



More information about the vlc-commits mailing list