changed handling of SBR/PS AAC extension
This commit is contained in:
parent
17923f9b23
commit
cbf5ce624b
|
@ -472,6 +472,7 @@ void displayFileInfo(const StringVector &, const Argument &filesArg, const Argum
|
|||
printProperty("Name", track->name());
|
||||
printProperty("Type", track->mediaTypeName());
|
||||
printProperty("Format", track->formatName());
|
||||
printProperty("Extensions", track->format().extensionName());
|
||||
printProperty("Raw format ID", track->formatId());
|
||||
if(track->size()) {
|
||||
printProperty("Size", dataSizeToString(track->size(), true));
|
||||
|
|
|
@ -175,8 +175,13 @@ void mkTrack(QByteArray &res, const AbstractTrack *track, unsigned int trackNumb
|
|||
const char *fmtName = track->formatName(), *fmtAbbr = track->formatAbbreviation();
|
||||
res.append(mkRow(QCoreApplication::translate("HtmlInfo", "Format"), QCoreApplication::translate("HtmlInfo", "The unabbreviated name of the track's format."), qstr(fmtName)));
|
||||
if(strcmp(fmtName, fmtAbbr)) {
|
||||
// format name and abbreviation differ
|
||||
res.append(mkRow(QCoreApplication::translate("HtmlInfo", "Abbreviation"), QCoreApplication::translate("HtmlInfo", "The abbreviated name of the track's format."), qstr(fmtAbbr)));
|
||||
}
|
||||
fmtName = track->format().extensionName();
|
||||
if(*fmtName) {
|
||||
res.append(mkRow(QCoreApplication::translate("HtmlInfo", "Extension"), QCoreApplication::translate("HtmlInfo", "Used format extensions."), qstr(fmtName)));
|
||||
}
|
||||
if(!track->formatId().empty()) {
|
||||
res.append(mkRow(QCoreApplication::translate("HtmlInfo", "Format/codec ID"), QCoreApplication::translate("HtmlInfo", "The raw format/codec identifier extracted from the container."), qstr(track->formatId())));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue