diff options
author | agalin89 <[email protected]> | 2021-04-02 20:56:50 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2021-04-02 21:45:42 +0100 |
commit | 22752ef5fd397784875153d4efb9282020298361 (patch) | |
tree | cd39b17ae391d8b36a67487269bfa2a6216e0d53 | |
parent | 7ba6199f7c4e0f5903e4174bb00bceca526acbb8 (diff) |
qsv: allow to use higher hardware version for new platforms
-rw-r--r-- | libhb/qsv_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index a363114c0..1a33a324d 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -162,7 +162,7 @@ static hb_triplet_t hb_qsv_h265_levels[] = // check available Intel Media SDK version against a minimum #define HB_CHECK_MFX_VERSION(MFX_VERSION, MAJOR, MINOR) \ - (MFX_VERSION.Major == MAJOR && MFX_VERSION.Minor >= MINOR) + ((MFX_VERSION.Major * 1000 + MFX_VERSION.Minor) >= (MAJOR * 1000 + MINOR)) int hb_qsv_get_adapter_index() { |