]> granicus.if.org Git - handbrake/commitdiff
MacGui: pass the fast decode option to the hb_job.
authorritsuka <damiog@gmail.com>
Mon, 29 Dec 2014 08:35:06 +0000 (08:35 +0000)
committerritsuka <damiog@gmail.com>
Mon, 29 Dec 2014 08:35:06 +0000 (08:35 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6668 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBJob.m
macosx/HBVideo+UIAdditions.m
macosx/HBVideo.h

index e72c06a81eeaa09fe96793fbe10c31253d1c33f9..23af79b7ae500d742c9044de27134b0e8bd32ef9 100644 (file)
@@ -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];
             }
index 7cf577a2d7e6ce6772b16788c2d079e33baf7adb..7d56431aa8a891a7007aaaca5c8b68b0461215e3 100644 (file)
     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];
     }
index 9e7b2631e7c69cf9abe1297e94dfe988c7bdab0a..22424061a3a7252d98b4119e0db176fc53486c5c 100644 (file)
@@ -45,5 +45,6 @@
 @property (nonatomic, readwrite) BOOL fastDecode;
 
 @property (nonatomic, readwrite, assign) HBJob *job;
+@property (nonatomic, readonly) NSString *completeTune;
 
 @end