MacGui: do not show the display width if the video is not anamorphic.
This commit is contained in:
parent
72b63d2ff5
commit
edbfdddcf3
@ -152,13 +152,13 @@ static NSString * FormattedDisplayAspect(double disp_width, double disp_height)
|
|||||||
(@"Source: %dx%d, ", @"HBPicture -> short info"),
|
(@"Source: %dx%d, ", @"HBPicture -> short info"),
|
||||||
self.sourceWidth, self.sourceHeight];
|
self.sourceWidth, self.sourceHeight];
|
||||||
|
|
||||||
if (self.anamorphicMode == HBPictureAnarmophicModeAuto)
|
if (self.anamorphicMode == HBPictureAnarmophicModeAuto && self.parNum != 1 && self.parDen != 1)
|
||||||
{
|
{
|
||||||
sizeInfo = [NSString stringWithFormat:HBKitLocalizedString
|
sizeInfo = [NSString stringWithFormat:HBKitLocalizedString
|
||||||
(@"%@Output: %dx%d, Anamorphic: %dx%d Automatic", @"HBPicture -> short info"),
|
(@"%@Output: %dx%d, Anamorphic: %dx%d Automatic", @"HBPicture -> short info"),
|
||||||
sizeInfo, self.storageWidth, self.storageHeight, self.displayWidth, self.displayHeight];
|
sizeInfo, self.storageWidth, self.storageHeight, self.displayWidth, self.displayHeight];
|
||||||
}
|
}
|
||||||
else if (self.anamorphicMode == HBPictureAnarmophicModeCustom)
|
else if (self.anamorphicMode == HBPictureAnarmophicModeCustom && self.parNum != 1 && self.parDen != 1)
|
||||||
{
|
{
|
||||||
sizeInfo = [NSString stringWithFormat:HBKitLocalizedString
|
sizeInfo = [NSString stringWithFormat:HBKitLocalizedString
|
||||||
(@"%@Output: %dx%d, Anamorphic: %dx%d Custom", @"HBPicture -> short info"),
|
(@"%@Output: %dx%d, Anamorphic: %dx%d Custom", @"HBPicture -> short info"),
|
||||||
@ -176,8 +176,15 @@ static NSString * FormattedDisplayAspect(double disp_width, double disp_height)
|
|||||||
|
|
||||||
- (NSString *)shortInfo
|
- (NSString *)shortInfo
|
||||||
{
|
{
|
||||||
return [NSString stringWithFormat:HBKitLocalizedString(@"%dx%d Storage, %dx%d Display", @"HBPicture -> short info"),
|
if (self.parNum != 1 && self.parDen != 1)
|
||||||
self.storageWidth, self.storageHeight, self.displayWidth, self.height];
|
{
|
||||||
|
return [NSString stringWithFormat:HBKitLocalizedString(@"%dx%d Storage, %dx%d Display", @"HBPicture -> short info"),
|
||||||
|
self.storageWidth, self.storageHeight, self.displayWidth, self.height];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return [NSString stringWithFormat:HBKitLocalizedString(@"%dx%d", @"HBPicture -> short non anamorphic info"), self.storageWidth, self.storageHeight];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *)summary
|
- (NSString *)summary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user