vlc | branch: master | Filip Roséen <[email protected]> | 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 <[email protected]>

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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to