diff options
author | ritsuka <[email protected]> | 2015-08-06 09:50:09 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-08-06 09:50:09 +0000 |
commit | 21ea1a3f5c8334916b1927e95db19a0a29f28d63 (patch) | |
tree | bd7b1a6406b0d22c6fd822ce4d22cb60e094dbaa /macosx/HBPicture+UIAdditions.m | |
parent | d4a4a3ccd682ae6992902321e6bfcea0ff8c89a9 (diff) |
MacGui: switch back another property to assign, 10.7 does not support weak for NSWindowController and NSViewController classes
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7393 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPicture+UIAdditions.m')
-rw-r--r-- | macosx/HBPicture+UIAdditions.m | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/macosx/HBPicture+UIAdditions.m b/macosx/HBPicture+UIAdditions.m index 06ea316ee..87759ad74 100644 --- a/macosx/HBPicture+UIAdditions.m +++ b/macosx/HBPicture+UIAdditions.m @@ -84,6 +84,20 @@ return sizeInfo; } +- (NSString *)sourceInfo +{ + NSString *sizeInfo = @""; + + sizeInfo = [NSString stringWithFormat:@"%d x %d", self.sourceWidth, self.sourceHeight]; + + if (self.sourceWidth != self.sourceDisplayWidth) + { + sizeInfo = [NSString stringWithFormat:@"%d x %d, Anamorphic: %d x %d", self.sourceWidth, self.sourceHeight, self.sourceDisplayWidth, self.sourceHeight]; + } + + return sizeInfo; +} + - (NSString *)summary { NSMutableString *summary = [NSMutableString stringWithString:@""]; |