summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBJob.m2
-rw-r--r--macosx/HBVideo+UIAdditions.m2
-rw-r--r--macosx/HBVideo.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index e72c06a81..23af79b7a 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -252,7 +252,7 @@ NSString *keyContainerTag = @"keyContainerTag";
else
{
// we are using the x264 preset system
- if ([(tmpString = self.video.tune) length])
+ if ([(tmpString = self.video.completeTune) length])
{
encoder_tune = [tmpString UTF8String];
}
diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m
index 7cf577a2d..7d56431aa 100644
--- a/macosx/HBVideo+UIAdditions.m
+++ b/macosx/HBVideo+UIAdditions.m
@@ -105,7 +105,7 @@
const char *h264_level = NULL;
// prepare the tune, advanced options, profile and level
- if ([tmpString = [self completeTune] length])
+ if ([tmpString = self.completeTune length])
{
x264_tune = [tmpString UTF8String];
}
diff --git a/macosx/HBVideo.h b/macosx/HBVideo.h
index 9e7b2631e..22424061a 100644
--- a/macosx/HBVideo.h
+++ b/macosx/HBVideo.h
@@ -45,5 +45,6 @@
@property (nonatomic, readwrite) BOOL fastDecode;
@property (nonatomic, readwrite, assign) HBJob *job;
+@property (nonatomic, readonly) NSString *completeTune;
@end