]> granicus.if.org Git - handbrake/commitdiff
MacGui: encode the right type for keepDisplayAspect.
authorritsuka <damiog@gmail.com>
Thu, 14 May 2015 19:44:13 +0000 (19:44 +0000)
committerritsuka <damiog@gmail.com>
Thu, 14 May 2015 19:44:13 +0000 (19:44 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7183 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBPicture.m

index 9a0b7f9318520cc85f5989a4e4df78025c59f818..6a3f7e3ec4395aacb4db9d0f047b1e001d760b1c 100644 (file)
@@ -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);