summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.m
diff options
context:
space:
mode:
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 c062759e0..cb4cca3b9 100644
--- a/macosx/HBVideo.m
+++ b/macosx/HBVideo.m
@@ -499,7 +499,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
encodeInt(_encoder);
- encodeInt(_qualityType);
+ encodeInteger(_qualityType);
encodeInt(_avgBitrate);
encodeDouble(_quality);
@@ -507,7 +507,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
encodeDouble(_qualityMaxValue);
encodeInt(_frameRate);
- encodeInt(_frameRateMode);
+ encodeInteger(_frameRateMode);
encodeBool(_twoPass);
encodeBool(_turboTwoPass);
@@ -528,7 +528,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
decodeInt(_encoder);
- decodeInt(_qualityType); if (_qualityType < HBVideoQualityTypeAvgBitrate || _qualityType > HBVideoQualityTypeConstantQuality) { goto fail; }
+ decodeInteger(_qualityType); if (_qualityType < HBVideoQualityTypeAvgBitrate || _qualityType > HBVideoQualityTypeConstantQuality) { goto fail; }
decodeInt(_avgBitrate); if (_avgBitrate < 0) { goto fail; }
decodeDouble(_quality);
@@ -536,7 +536,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
decodeDouble(_qualityMaxValue);
decodeInt(_frameRate); if (_frameRate < 0) { goto fail; }
- decodeInt(_frameRateMode); if (_frameRateMode < HBVideoFrameRateModeVFR_PFR || _frameRateMode > HBVideoFrameRateModeCFR) { goto fail; }
+ decodeInteger(_frameRateMode); if (_frameRateMode < HBVideoFrameRateModeVFR_PFR || _frameRateMode > HBVideoFrameRateModeCFR) { goto fail; }
decodeBool(_twoPass);
decodeBool(_turboTwoPass);