Reset the number of cue elements so that UpdateSize() will not be called on it accidentally if splitting is active.

This commit is contained in:
Moritz Bunkus 2004-02-15 20:01:36 +00:00
parent c270b9668b
commit 1cdaf2610d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-02-15 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Splitting by size would sometimes abort
directly after opening the second file.
2004-02-14 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Splitting by time was broken.

View File

@ -181,6 +181,7 @@ void cluster_helper_c::add_packet(packet_t *packet) {
old_max_timecode = max_timecode;
max_timecode = packet->assigned_timecode;
num_cue_elements = 0;
mxinfo("\n");
finish_file();