Prefer pixel size over display size when computing 'XXXXp' specification
This commit is contained in:
parent
ea8e70c807
commit
def74db180
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue