summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-19 15:35:35 +0000
committerritsuka <[email protected]>2015-01-19 15:35:35 +0000
commit2e7330affab701fb1443fec449e2b04690b32e33 (patch)
treeb00b4de54ca6c26d5ecb7c13b15f344292b00988 /macosx/HBVideo.m
parentea82134f6199f79cb939781cb38dceaa1534dbc1 (diff)
MacGui: enable and fix more compiler warnings in the Xcode project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBVideo.m')
-rw-r--r--macosx/HBVideo.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m
index 9fe897b16..b9e4b4435 100644
--- a/macosx/HBVideo.m
+++ b/macosx/HBVideo.m
@@ -404,7 +404,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
encodeBool(_twoPass);
encodeBool(_turboTwoPass);
- encodeInt(_advancedOptions);
+ encodeBool(_advancedOptions);
encodeObject(_preset);
encodeObject(_tune);
encodeObject(_profile);
@@ -434,7 +434,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
decodeBool(_twoPass);
decodeBool(_turboTwoPass);
- decodeInt(_advancedOptions);
+ decodeBool(_advancedOptions);
decodeObject(_preset);
decodeObject(_tune);
decodeObject(_profile);
@@ -624,10 +624,10 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
self.frameRate = intValue;
// 2 Pass Encoding.
- self.twoPass = [preset[@"VideoTwoPass"] intValue];
+ self.twoPass = [preset[@"VideoTwoPass"] boolValue];
// Turbo 1st pass for 2 Pass Encoding.
- self.turboTwoPass = [preset[@"VideoTurboTwoPass"] intValue];
+ self.turboTwoPass = [preset[@"VideoTurboTwoPass"] boolValue];
self.notificationsEnabled = YES;
}