diff options
author | Rodeo <[email protected]> | 2013-10-11 13:17:17 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-10-11 13:17:17 +0000 |
commit | 58bd6b80db26fc71a101c0dbdf4633deea5c0c34 (patch) | |
tree | aafdf5dcb4e1ce061fdbd44a7b6be9f14cf6efb3 /libhb/qsv_common.c | |
parent | 54fde2698cac2a49a0ce786ec04a13fd7360e529 (diff) |
QSV: use encode-only path when we have CPU filters enabled and CopyFrame is unavailable.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5831 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r-- | libhb/qsv_common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index d191fadf1..704a6e86a 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -93,6 +93,10 @@ int hb_qsv_info_init() hb_qsv_info->capabilities |= HB_QSV_CAP_MSDK_API_1_6; hb_qsv_info->capabilities |= HB_QSV_CAP_OPTION2_EXTBRC; } + if (HB_CHECK_MFX_VERSION(qsv_hardware_version, 1, 7)) + { + hb_qsv_info->capabilities |= HB_QSV_CAP_COPYFRAME; + } if (hb_get_cpu_platform() == HB_CPU_PLATFORM_INTEL_HSW) { if (HB_CHECK_MFX_VERSION(qsv_hardware_version, 1, 6)) @@ -114,6 +118,10 @@ int hb_qsv_info_init() hb_qsv_info->capabilities |= HB_QSV_CAP_MSDK_API_1_6; hb_qsv_info->capabilities |= HB_QSV_CAP_H264_BPYRAMID; } + if (HB_CHECK_MFX_VERSION(qsv_software_version, 1, 7)) + { + hb_qsv_info->capabilities |= HB_QSV_CAP_COPYFRAME; + } } // note: we pass a pointer to MFXInit but it never gets modified |