diff options
author | Rodeo <[email protected]> | 2013-10-12 00:30:02 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-10-12 00:30:02 +0000 |
commit | b450b844c8cf8399c129fadb08f9eaa05acedcb1 (patch) | |
tree | d9337699251341316b595f21e756fa97619387e2 /libhb/qsv_common.c | |
parent | 66009cb19c3ba6b6a27fc4bcbf1373cb90307a80 (diff) |
QSV: improve CopyFrame bug workaround a bit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5834 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r-- | libhb/qsv_common.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index 704a6e86a..542f03374 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -95,7 +95,9 @@ int hb_qsv_info_init() } if (HB_CHECK_MFX_VERSION(qsv_hardware_version, 1, 7)) { - hb_qsv_info->capabilities |= HB_QSV_CAP_COPYFRAME; + // we should really check the driver version, but since that's not + // available here, checking the API version is the best we can do :-( + hb_qsv_info->capabilities |= HB_QSV_CAP_CORE_COPYFRAME; } if (hb_get_cpu_platform() == HB_CPU_PLATFORM_INTEL_HSW) { @@ -118,10 +120,7 @@ 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; - } + hb_qsv_info->capabilities |= HB_QSV_CAP_CORE_COPYFRAME; } // note: we pass a pointer to MFXInit but it never gets modified |