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();
|
auto level = std::string();
|
||||||
switch (m_mediaType) {
|
switch (m_mediaType) {
|
||||||
case MediaType::Video:
|
case MediaType::Video:
|
||||||
if (!displaySize().isNull()) {
|
if (!pixelSize().isNull()) {
|
||||||
additionalInfoRef = displaySize().abbreviation();
|
|
||||||
} else if (!pixelSize().isNull()) {
|
|
||||||
additionalInfoRef = pixelSize().abbreviation();
|
additionalInfoRef = pixelSize().abbreviation();
|
||||||
|
} else if (!displaySize().isNull()) {
|
||||||
|
additionalInfoRef = displaySize().abbreviation();
|
||||||
}
|
}
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
switch (format.general) {
|
switch (format.general) {
|
||||||
|
|
Loading…
Reference in New Issue