summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPicture.m4
-rw-r--r--macosx/HBQueueItem.m2
-rw-r--r--macosx/HBRange.m2
-rw-r--r--macosx/HBVideo.m4
4 files changed, 6 insertions, 6 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index 74c582509..42b72360a 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -476,7 +476,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
srcGeo.par.num = self.sourceParNum;
srcGeo.par.den = self.sourceParDen;
- uiGeo.mode = self.anamorphicMode;
+ uiGeo.mode = (int)self.anamorphicMode;
uiGeo.keep = self.keep;
uiGeo.itu_par = 0;
uiGeo.modulus = self.modulus;
@@ -571,7 +571,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
encodeInt(_height);
encodeBool(_keepDisplayAspect);
- encodeInt(_anamorphicMode);
+ encodeInt((int)_anamorphicMode);
encodeInt(_modulus);
encodeInt(_displayWidth);
diff --git a/macosx/HBQueueItem.m b/macosx/HBQueueItem.m
index bdcbc7002..095a5dc87 100644
--- a/macosx/HBQueueItem.m
+++ b/macosx/HBQueueItem.m
@@ -77,7 +77,7 @@ static NSString *versionKey = @"HBQueueItemVersion";
- (void)encodeWithCoder:(nonnull NSCoder *)coder
{
[coder encodeInt:1 forKey:versionKey];
- encodeInt(_state);
+ encodeInt((int)_state);
encodeObject(_job);
encodeObject(_uuid);
}
diff --git a/macosx/HBRange.m b/macosx/HBRange.m
index 54468ff7a..4fd93c031 100644
--- a/macosx/HBRange.m
+++ b/macosx/HBRange.m
@@ -193,7 +193,7 @@ NSString *HBRangeChangedNotification = @"HBRangeChangedNotification";
{
[coder encodeInt:1 forKey:@"HBRangeVersion"];
- encodeInt(_type);
+ encodeInt((int)_type);
encodeInt(_chapterStart);
encodeInt(_chapterStop);
diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m
index 3de3ef66f..21e701bbf 100644
--- a/macosx/HBVideo.m
+++ b/macosx/HBVideo.m
@@ -492,7 +492,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
encodeInt(_encoder);
- encodeInt(_qualityType);
+ encodeInt((int)_qualityType);
encodeInt(_avgBitrate);
encodeDouble(_quality);
@@ -500,7 +500,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
encodeDouble(_qualityMaxValue);
encodeInt(_frameRate);
- encodeInt(_frameRateMode);
+ encodeInt((int)_frameRateMode);
encodeBool(_twoPass);
encodeBool(_turboTwoPass);