mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-17 17:24:54 +00:00
Fix for outputting timecodes in summary mode.
1. The formatted timecodes for SimpleBlock elements were too small by a factor of 1000000. 2. Output all timecodes with three decimal digits.
This commit is contained in:
parent
accc1d28c8
commit
68a8b4c2a5
@ -1,3 +1,9 @@
|
||||
2009-04-16 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvinfo: bug fix: Timecodes of SimpleBlock elements that were
|
||||
output formatted in summary mode were too small by a factor of
|
||||
1000000.
|
||||
|
||||
2009-04-15 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: The duration of subtitle frames was
|
||||
|
@ -1286,7 +1286,7 @@ def_handle2(block_group,
|
||||
% block.TrackNum()
|
||||
% block.NumberFrames()
|
||||
% ((float)block.GlobalTimecode() / 1000000000.0)
|
||||
% format_timecode(block.GlobalTimecode()));
|
||||
% format_timecode(block.GlobalTimecode(), 3));
|
||||
|
||||
lf_timecode = block.GlobalTimecode() / 1000000;
|
||||
lf_tnum = block.TrackNum();
|
||||
@ -1486,7 +1486,7 @@ def_handle2(simple_block,
|
||||
% block.TrackNum()
|
||||
% block.NumberFrames()
|
||||
% ((float)timecode / 1000.0)
|
||||
% format_timecode(block.GlobalTimecode()));
|
||||
% format_timecode(block.GlobalTimecode(), 3));
|
||||
|
||||
int i;
|
||||
for (i = 0; i < (int)block.NumberFrames(); i++) {
|
||||
@ -1515,7 +1515,7 @@ def_handle2(simple_block,
|
||||
% (block.IsKeyframe() ? 'I' : block.IsDiscardable() ? 'B' : 'P')
|
||||
% block.TrackNum()
|
||||
% timecode
|
||||
% format_timecode(timecode)
|
||||
% format_timecode(block.GlobalTimecode(), 3)
|
||||
% frame_sizes[fidx]
|
||||
% frame_adlers[fidx]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user