[vlc-commits] demux:mkv clean the cue time conversion to vlc_tick_t
Steve Lhomme
git at videolan.org
Tue Sep 18 13:53:04 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 8 09:03:21 2018 +0200| [a0ad61d52f39a50dd767cce876e1f20feaecb0e7] | committer: Steve Lhomme
demux:mkv clean the cue time conversion to vlc_tick_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0ad61d52f39a50dd767cce876e1f20feaecb0e7
---
modules/demux/mkv/matroska_segment.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index b91d8f5937..5a54dda79f 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -134,7 +134,7 @@ void matroska_segment_c::LoadCues( KaxCues *cues )
b_invalid_cue = true;
break;
}
- cue_mk_time = static_cast<uint64>( *kct_ptr ) * i_timescale / INT64_C(1000);
+ cue_mk_time = VLC_TICK_FROM_NS(static_cast<uint64>( *kct_ptr ) * i_timescale);
}
else if( MKV_IS_ID( el, KaxCueTrackPositions ) )
{
More information about the vlc-commits
mailing list