summaryrefslogtreecommitdiffstats
path: root/libhb/encx265.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-04-03 14:19:28 +0000
committerRodeo <[email protected]>2015-04-03 14:19:28 +0000
commitde17b2d007026cac6bc1aa7821126094e3c5e142 (patch)
tree67b9c7c821f6d1fe46981b6e28893d7418df30cc /libhb/encx265.c
parente54567afa69515253a484e76aed75eb37da71269 (diff)
Bump libx265 to version 1.6
Miscellaneous bugfixes and performance improvements. Also, x265_cleanup lets us drop both patches. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7044 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx265.c')
-rw-r--r--libhb/encx265.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c
index 8743b8d20..b09b0b4d2 100644
--- a/libhb/encx265.c
+++ b/libhb/encx265.c
@@ -291,6 +291,9 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
job->areBframes = (param->bframes > 0) + (param->bframes > 0 &&
param->bBPyramid > 0);
+ /* Reset global variables before opening a new encoder */
+ x265_cleanup();
+
pv->x265 = x265_encoder_open(param);
if (pv->x265 == NULL)
{