summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/qsv_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c
index e96a715fd..73f5b2ab8 100644
--- a/libhb/qsv_common.c
+++ b/libhb/qsv_common.c
@@ -95,9 +95,12 @@ int hb_qsv_info_init()
}
if (hb_get_cpu_platform() == HB_CPU_PLATFORM_INTEL_HSW)
{
- if (HB_CHECK_MFX_VERSION(qsv_hardware_version, 1, 7))
+ if (HB_CHECK_MFX_VERSION(qsv_hardware_version, 1, 6))
{
hb_qsv_info->capabilities |= HB_QSV_CAP_OPTION2_MBBRC;
+ }
+ if (HB_CHECK_MFX_VERSION(qsv_hardware_version, 1, 7))
+ {
hb_qsv_info->capabilities |= HB_QSV_CAP_OPTION2_TRELLIS;
hb_qsv_info->capabilities |= HB_QSV_CAP_OPTION2_LOOKAHEAD;
}