summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-09-24 15:58:11 +0000
committerRodeo <[email protected]>2013-09-24 15:58:11 +0000
commit18ca6fd97fff57a39f7cf4235e92915113bc49aa (patch)
treec7e77c1d8aeedc5421c358b4741648d92f24432d
parent7be1890d2c89b31e4ef93bd92a8bb07040f082bd (diff)
QSV: fix stupid mistake; MBBRC requires API version 1.6, not 1.7.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5807 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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;
}