Prefer pixel size over display size when computing 'XXXXp' specification

This commit is contained in:
Martchus 2021-12-07 21:30:26 +01:00
parent ea8e70c807
commit def74db180
1 changed files with 3 additions and 3 deletions

View File

@ -150,10 +150,10 @@ string AbstractTrack::makeDescription(bool verbose) const
auto level = std::string();
switch (m_mediaType) {
case MediaType::Video:
if (!displaySize().isNull()) {
additionalInfoRef = displaySize().abbreviation();
} else if (!pixelSize().isNull()) {
if (!pixelSize().isNull()) {
additionalInfoRef = pixelSize().abbreviation();
} else if (!displaySize().isNull()) {
additionalInfoRef = displaySize().abbreviation();
}
if (verbose) {
switch (format.general) {