]> granicus.if.org Git - handbrake/commitdiff
x265: macui multilib support
authorJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 17 Oct 2015 22:36:57 +0000 (15:36 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 12 Nov 2015 18:08:25 +0000 (10:08 -0800)
macosx/HBJob+HBJobConversion.m
macosx/HBVideo+UIAdditions.m

index f19e3c12534b87e6e9292f70ef11087bb017a36b..78fc16229fe2dc04515bc599fa32a6732be40f98 100644 (file)
     }
 
     if (self.video.twoPass && ((self.video.encoder & HB_VCODEC_X264_MASK) ||
-                               self.video.encoder == HB_VCODEC_X265))
+                               (self.video.encoder & HB_VCODEC_X265_MASK)))
     {
         job->fastfirstpass = self.video.turboTwoPass;
     }
index 0d6aaf1c193e9ccfcf54317d59dd259333793643..1ca41ef0bda9e148bdb4f03fdb6ebcfff1911c68 100644 (file)
@@ -84,7 +84,7 @@
 - (BOOL)turboTwoPassSupported
 {
     return ((self.encoder & HB_VCODEC_X264_MASK) ||
-             self.encoder == HB_VCODEC_X265);
+            (self.encoder & HB_VCODEC_X265_MASK));
 }
 
 /**