summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorDmitrichenko, Max <[email protected]>2020-07-06 22:44:39 +0200
committerScott <[email protected]>2020-07-11 21:16:27 +0100
commit73681c07cef1b65278a382a01dc27cdf09d04970 (patch)
tree2235ee848ad6febaeb7174439c046e4d8d81cc71 /libhb/common.c
parentdbe9b5d670eda4a8aaf9dee268214711bae84e2e (diff)
qsv: more depth helps for better performance
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 3c0cc0cb5..4110e8987 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -3814,7 +3814,7 @@ static void job_setup(hb_job_t * job, hb_title_t * title)
#if HB_PROJECT_FEATURE_QSV
job->qsv.enc_info.is_init_done = 0;
- job->qsv.async_depth = HB_QSV_ASYNC_DEPTH_DEFAULT;
+ job->qsv.async_depth = qsv_hardware_generation(hb_get_cpu_platform()) >= QSV_G7 ? 6 : HB_QSV_ASYNC_DEPTH_DEFAULT;
job->qsv.decode = !!(title->video_decode_support &
HB_DECODE_SUPPORT_QSV);
#endif