diff options
author | Rodeo <[email protected]> | 2013-09-24 23:16:50 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-09-24 23:16:50 +0000 |
commit | dfb994ee3f02ee38fbb3d90ac016d18ce9382845 (patch) | |
tree | 7c060a1618ec08256fd9e4b1fda01c3673724baf | |
parent | 36f9e230ba352b4f7fc50e75ed8a2b0789af04e5 (diff) |
QSV: fix a hang with lookahead RC and some graphics drivers.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5809 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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) { |