mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
The block_duration is now in ns, so divide by 1000000 where appropriate.
This commit is contained in:
parent
91415966eb
commit
b6a35b029a
@ -1,3 +1,8 @@
|
||||
2004-07-27 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvextract: bug fix: The subtitle track extraction used the wrong
|
||||
duration in 0.9.4.
|
||||
|
||||
2004-07-26 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvextract: new feature: Limited support for extracting chapters
|
||||
|
@ -635,7 +635,7 @@ handle_data(KaxBlock *block,
|
||||
block_duration = track->default_duration;
|
||||
|
||||
start = block->GlobalTimecode() / 1000000; // in ms
|
||||
end = start + block_duration;
|
||||
end = start + block_duration / 1000000;
|
||||
|
||||
for (i = 0; i < block->NumberFrames(); i++) {
|
||||
DataBuffer &data = block->GetBuffer(i);
|
||||
|
Loading…
Reference in New Issue
Block a user