[vlc-commits] demux:mkv: make sure clusters are added to the seek list as soon as possible
Steve Lhomme
git at videolan.org
Wed Jan 24 08:53:18 CET 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 23 10:55:12 2018 +0100| [96f211fd058a8571e50ac0f2d5bcacb83eee19fe] | committer: Jean-Baptiste Kempf
demux:mkv: make sure clusters are added to the seek list as soon as possible
(cherry picked from commit b15c11c6ba85d1e0f298cbcec9f9c2b560594075)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=96f211fd058a8571e50ac0f2d5bcacb83eee19fe
---
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 027a973279..1508a12bfc 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;
}
}
More information about the vlc-commits
mailing list