[vlc-commits] demux:mkv: make sure clusters are added to the seek list as soon as possible
Steve Lhomme
git at videolan.org
Tue Jan 23 10:55:25 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 23 10:55:12 2018 +0100| [b15c11c6ba85d1e0f298cbcec9f9c2b560594075] | committer: Steve Lhomme
demux:mkv: make sure clusters are added to the seek list as soon as possible
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b15c11c6ba85d1e0f298cbcec9f9c2b560594075
---
modules/demux/mkv/matroska_segment_seeker.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mkv/matroska_segment_seeker.cpp b/modules/demux/mkv/matroska_segment_seeker.cpp
index 78873a186f..617a808ce4 100644
--- a/modules/demux/mkv/matroska_segment_seeker.cpp
+++ b/modules/demux/mkv/matroska_segment_seeker.cpp
@@ -497,6 +497,7 @@ SegmentSeeker::mkv_jump_to( matroska_segment_c& ms, fptr_t fpos )
{
p_tc->ReadData( ms.es.I_O(), SCOPE_ALL_DATA );
ms.cluster->InitTimecode( static_cast<uint64>( *p_tc ), ms.i_timescale );
+ add_cluster(ms.cluster);
break;
}
else if( MKV_CHECKED_PTR_DECL( p_tc, EbmlCrc32, el ) )
More information about the vlc-commits
mailing list