diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/enc_qsv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c index ae3e9bf90..073e18423 100644 --- a/libhb/enc_qsv.c +++ b/libhb/enc_qsv.c @@ -685,6 +685,9 @@ int encqsvInit(hb_work_object_t *w, hb_job_t *job) } pv->param.videoParam->mfx.GopPicSize = pv->param.gop.gop_pic_size; + // LookAheadDepth 10 will cause a hang with some driver versions + pv->param.codingOption2.LookAheadDepth = FFMAX(pv->param.codingOption2.LookAheadDepth, 11); + // sanitize some settings that affect memory consumption if (!pv->is_sys_mem) { |