summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-08-26 22:13:17 +0000
committerjstebbins <[email protected]>2014-08-26 22:13:17 +0000
commitd3911e0217f0c7aa8c775e14d718dd22a50563fe (patch)
treecde9cf478564238cc080e7599522fd4c16ef29bb /gtk/src
parent8a162f6cba7e30e1f1150922cc99456069a867ac (diff)
x265: enable 2-pass ABR encoding
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6366 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index f7630454b..c200a5bdd 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4748,8 +4748,8 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, int titleindex)
/*
* If turbo options have been selected then set job->fastfirstpass
*/
- if( ghb_settings_get_boolean(js, "VideoTurboTwoPass") &&
- job->vcodec == HB_VCODEC_X264 )
+ if(ghb_settings_get_boolean(js, "VideoTurboTwoPass") &&
+ (job->vcodec == HB_VCODEC_X264 || job->vcodec == HB_VCODEC_X265))
{
job->fastfirstpass = 1;
}