diff options
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 |