[vlc-commits] commit: Fixed seeking to I frames in mkv demuxer. (Laurent Aimar )
git at videolan.org
git at videolan.org
Tue Apr 6 20:38:54 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Apr 6 20:27:52 2010 +0200| [2b297e104ec1a84863bf86990fd159b25318fa90] | committer: Laurent Aimar
Fixed seeking to I frames in mkv demuxer.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b297e104ec1a84863bf86990fd159b25318fa90
---
modules/demux/mkv/mkv.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 68fbc44..533a3e3 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -719,7 +719,6 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
return;
}
- ep->Down();
for( i_track = 0; i_track < tracks.size(); i_track++ )
{
@@ -737,7 +736,7 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
if( i_track < tracks.size() )
{
- if( sys.i_pts >= sys.i_start_pts )
+ if( sys.i_pts > sys.i_start_pts )
{
cluster = static_cast<KaxCluster*>(ep->UnGet( i_block_pos, i_cluster_pos ));
i_track_skipping = 0;
More information about the vlc-commits
mailing list