diff options
author | Rodeo <[email protected]> | 2015-02-01 01:28:14 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-02-01 01:28:14 +0000 |
commit | 104f796a77ddc0ff4e2fc9b6ca1d5ea522eb821b (patch) | |
tree | 7cac0c31ec8b88eb6a46de17e586922804c9537b /libhb | |
parent | 4dc02102e5e95b772dcbeb6ff927703c89d91f13 (diff) |
QSV: update hb_qsv_force_workarounds()
Disabling API 1.6 detection is no longer required (our own DTS is now always available); disabling BRefType support may be useful to check that our old B-Pyramid code still works with newer drivers.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6849 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/qsv_common.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index d9143c8fd..20467fdbd 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -1651,10 +1651,12 @@ const char* hb_qsv_impl_get_name(int impl) void hb_qsv_force_workarounds() { - qsv_software_info_avc.capabilities &= ~HB_QSV_CAP_MSDK_API_1_6; - qsv_hardware_info_avc.capabilities &= ~HB_QSV_CAP_MSDK_API_1_6; - qsv_software_info_hevc.capabilities &= ~HB_QSV_CAP_MSDK_API_1_6; - qsv_hardware_info_hevc.capabilities &= ~HB_QSV_CAP_MSDK_API_1_6; +#define FORCE_WORKAROUNDS ~(HB_QSV_CAP_OPTION2_BREFTYPE) + qsv_software_info_avc.capabilities &= FORCE_WORKAROUNDS; + qsv_hardware_info_avc.capabilities &= FORCE_WORKAROUNDS; + qsv_software_info_hevc.capabilities &= FORCE_WORKAROUNDS; + qsv_hardware_info_hevc.capabilities &= FORCE_WORKAROUNDS; +#undef FORCE_WORKAROUNDS } #endif // USE_QSV |