mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Calculate proper durations for subs from OGM.
This commit is contained in:
parent
cd119820fa
commit
31b867012f
@ -1,3 +1,8 @@
|
||||
2004-02-01 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: The change from ms to ns precision broke
|
||||
subtitle handling from OGM.
|
||||
|
||||
2004-01-31 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: Made "do not link files when splitting" the default,
|
||||
|
@ -897,7 +897,7 @@ ogm_reader_c::process_page(ogg_page *og) {
|
||||
(op.packet[hdrlen + 1] != 0) && !iscr(op.packet[hdrlen + 1])))
|
||||
dmx->packetizer->process(&op.packet[hdrlen + 1], op.bytes - 1 -
|
||||
hdrlen, ogg_page_granulepos(og) * 1000000,
|
||||
lenbytes * 1000000);
|
||||
(int64_t)lenbytes * 1000000);
|
||||
|
||||
} else if (dmx->stype == OGM_STREAM_TYPE_VORBIS) {
|
||||
dmx->packetizer->process(op.packet, op.bytes);
|
||||
|
Loading…
Reference in New Issue
Block a user