mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Fix the split-decision for audio-only files. Also set the timecode scale factor on all output files.
This commit is contained in:
parent
a3ccdb25ef
commit
6423c4e3b7
@ -1,5 +1,8 @@
|
||||
2005-03-19 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Splitting by time was broken for audio-only
|
||||
files.
|
||||
|
||||
* mkvmerge: bug fix: The --fourcc switch was not working.
|
||||
|
||||
2005-03-16 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
@ -163,7 +163,8 @@ cluster_helper_c::add_packet(packet_t *packet) {
|
||||
if ((header_overhead + additional_size + bytes_in_file) >= split_after)
|
||||
split = true;
|
||||
|
||||
} else if ((packet->assigned_timecode - first_timecode_in_file) >=
|
||||
} else if ((0 <= first_timecode_in_file) &&
|
||||
(packet->assigned_timecode - first_timecode_in_file) >=
|
||||
(split_after * 1000000ull))
|
||||
split = true;
|
||||
|
||||
|
@ -636,7 +636,8 @@ render_headers(mm_io_c *rout) {
|
||||
for (i = 0; i < packetizers.size(); i++)
|
||||
if (packetizers[i].packetizer != NULL)
|
||||
packetizers[i].packetizer->fix_headers();
|
||||
}
|
||||
} else
|
||||
set_timecode_scale();
|
||||
|
||||
kax_infos->Render(*rout, true);
|
||||
kax_sh_main->IndexThis(*kax_infos, *kax_segment);
|
||||
|
Loading…
Reference in New Issue
Block a user