[vlc-commits] demux:mkv: read the codec delay as an vlc_tick_t
Steve Lhomme
git at videolan.org
Tue Sep 18 14:07:54 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 8 08:35:36 2018 +0200| [3f49b42aa70e72342697af939230e447f5951fe1] | committer: Steve Lhomme
demux:mkv: read the codec delay as an vlc_tick_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f49b42aa70e72342697af939230e447f5951fe1
---
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 a2d2bf5c84..17ee1b7e60 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -388,7 +388,7 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m )
#if LIBMATROSKA_VERSION >= 0x010401
E_CASE( KaxCodecDelay, codecdelay )
{
- vars.tk->i_codec_delay = static_cast<uint64_t>( codecdelay ) / 1000;
+ vars.tk->i_codec_delay = VLC_TICK_FROM_NS(static_cast<uint64_t>( codecdelay ));
msg_Dbg( vars.p_demuxer, "| | | + Track Codec Delay =%" PRIu64,
vars.tk->i_codec_delay );
}
More information about the vlc-commits
mailing list