[vlc-commits] demux:mkv: read the seek preroll as an vlc_tick_t
Steve Lhomme
git at videolan.org
Tue Sep 18 14:07:55 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 8 08:35:55 2018 +0200| [ab2cd200bab8c35519350927d21ac46b40184289] | committer: Steve Lhomme
demux:mkv: read the seek preroll as an vlc_tick_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab2cd200bab8c35519350927d21ac46b40184289
---
modules/demux/mkv/matroska_segment_parse.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 17ee1b7e60..7498ab3642 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -394,7 +394,7 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m )
}
E_CASE( KaxSeekPreRoll, spr )
{
- vars.tk->i_seek_preroll = static_cast<uint64_t>( spr ) / 1000;
+ vars.tk->i_seek_preroll = VLC_TICK_FROM_NS(static_cast<uint64_t>( spr ));
debug( vars, "Track Seek Preroll =%" PRIu64, vars.tk->i_seek_preroll );
}
#endif
More information about the vlc-commits
mailing list