summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-14 19:44:13 +0000
committerritsuka <[email protected]>2015-05-14 19:44:13 +0000
commitc9fdeb0bdf476aaf9d7d8be0f0898bd9ca2536bb (patch)
treec99d5191ac9ee779404bcd82acb9aead918f8789 /macosx
parentc417ca82e0ce9d0bed402f86a076f6b117c109ff (diff)
MacGui: encode the right type for keepDisplayAspect.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7183 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPicture.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index 9a0b7f931..6a3f7e3ec 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -498,7 +498,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
encodeInt(_width);
encodeInt(_height);
- encodeInt(_keepDisplayAspect);
+ encodeBool(_keepDisplayAspect);
encodeInt(_anamorphicMode);
encodeInt(_modulus);
@@ -530,7 +530,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
decodeInt(_width);
decodeInt(_height);
- decodeInt(_keepDisplayAspect);
+ decodeBool(_keepDisplayAspect);
decodeInt(_anamorphicMode);
decodeInt(_modulus);