Always generate a segment UID.

This commit is contained in:
Moritz Bunkus 2004-03-09 16:39:51 +00:00
parent d62e9f5c5e
commit 41b34411c5
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-03-09 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: The segment UID was not generated if
splitting was off.
* mmg: new feature: Automatically set the output file name when
the first file is added to the same name but with a '.mkv'
extension if it hasn't been set yet. Can be disabled on the

View File

@ -1121,7 +1121,7 @@ render_headers(mm_io_c *rout) {
// Generate the segment UIDs.
if (!hack_engaged(ENGAGE_NO_VARIABLE_DATA)) {
if (first_file) {
if (file_num == 1) {
seguid_current.generate_random();
seguid_next.generate_random();
} else {