mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Fixed support for reading MultiComment tags from XML tag files.
This commit is contained in:
parent
a237a10bfc
commit
4903680be2
@ -1,5 +1,8 @@
|
||||
2003-08-10 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: Fixed support for reading MultiComment tags from
|
||||
XML tag files.
|
||||
|
||||
* mkvmerge: Allow some slightly broken Matroska files to be
|
||||
processed correctly if the reference blocks are off by at most 1ms.
|
||||
|
||||
|
@ -523,7 +523,11 @@ static void start_level3(parser_data_t *pdata, const char *name) {
|
||||
} else
|
||||
perror_nochild();
|
||||
|
||||
} else
|
||||
} else if ((parent == E_MultiComment) &&
|
||||
is_multicomment(pdata, name, pdata->m_comment))
|
||||
return;
|
||||
|
||||
else
|
||||
die("Unknown parent: level 3, %d", parent);
|
||||
}
|
||||
|
||||
@ -716,7 +720,11 @@ static void start_level4(parser_data_t *pdata, const char *name) {
|
||||
} else
|
||||
perror_nochild();
|
||||
|
||||
} else
|
||||
} else if ((parent == E_MultiComment) &&
|
||||
is_multicomment(pdata, name, pdata->m_comment))
|
||||
return;
|
||||
|
||||
else
|
||||
die("Unknown parent: level 4, %d", parent);
|
||||
}
|
||||
|
||||
@ -742,10 +750,13 @@ static void start_level5(parser_data_t *pdata, const char *name) {
|
||||
} else if (!strcmp(name, "PriceDate")) {
|
||||
check_instances(pdata->m_price, KaxTagMultiPricePriceDate);
|
||||
pdata->parents->push_back(E_PriceDate);
|
||||
} else
|
||||
perror_nochild();
|
||||
}
|
||||
|
||||
} else
|
||||
} else if ((parent == E_MultiComment) &&
|
||||
is_multicomment(pdata, name, pdata->m_comment))
|
||||
return;
|
||||
|
||||
else
|
||||
die("Unknown parent: level 5, %d", parent);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user