summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-29 08:35:06 +0000
committerritsuka <[email protected]>2014-12-29 08:35:06 +0000
commitf1c5cb5f2388aeebbe7ec9f105b406bebf2345e0 (patch)
tree0b8127b1d4b02ea26e3ac30a539129dc1ace4d3f
parent0559e985cb5cb1e4dec92fd9c868b31f64acbe27 (diff)
MacGui: pass the fast decode option to the hb_job.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6668 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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