diff options
author | Rodeo <[email protected]> | 2013-12-27 20:49:39 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-12-27 20:49:39 +0000 |
commit | e087032ff8edb0441eafc225ae860503ce12f3d4 (patch) | |
tree | cf550b8e074d46aff5a235daf6c8c825660b21ca /libhb/qsv_common.c | |
parent | 840cb1e3448867a3d56bafc980dce39189d4814f (diff) |
ports: detect more Intel microarchitecture families.
Also disable QSV hardware support on Bonnell-based microprocessors. Some Cloverview processors apparently support media SDK with third-party hardware, and until we can access hardware to test and fix the crashes we have on that platform, let's not enable it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5942 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r-- | libhb/qsv_common.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index 9465a972e..3dcaa25ed 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -77,10 +77,15 @@ int hb_qsv_info_init() if (MFXInit(MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY, &qsv_minimum_version, &session) == MFX_ERR_NONE) { - qsv_hardware_available = 1; - preferred_implementation = MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY; - // our minimum is supported, but query the actual version - MFXQueryVersion(session, &qsv_hardware_version); + // Cloverview (Bonnell microarchitecture) supports MSDK via third-party + // hardware - we don't support this configuration for the time being + if (hb_get_cpu_platform() != HB_CPU_PLATFORM_INTEL_BNL) + { + qsv_hardware_available = 1; + preferred_implementation = MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY; + // our minimum is supported, but query the actual version + MFXQueryVersion(session, &qsv_hardware_version); + } MFXClose(session); } |