summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2021-02-19 08:51:35 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-08-12 10:43:39 +0800
commit7c713ab42caf07ef8db9a8725fa4068cb0690ac2 (patch)
treeb60861d6ac5404ffde469f1f791aebb245707ee8 /configure
parentfea5aed2796e27377243c9d6fb5a85b5f4952746 (diff)
configure: fix the check for MFX_CODEC_VP9
The data structures for VP9 in mfxvp9.h is wrapped by MFX_VERSION_NEXT, which means those data structures have never been used in a public release. Actually MFX_CODEC_VP9 and other VP9 stuffs are added in mfxstructures.h. In addition, mfxdefs.h is included in mfxvp9.h, so we may use the check in this patch for MFX_CODEC_VP9 This is in preparation for oneVPL support because mfxvp9.h is removed from oneVPL [1] [1]: https://github.com/oneapi-src/oneVPL
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1625ff1b5e..46a98e0b00 100755
--- a/configure
+++ b/configure
@@ -6591,7 +6591,7 @@ enabled libmfx && { { check_pkg_config libmfx "libmfx >= 1.28 libmfx
"multi-frame encode, user plugins and LA_EXT rate control mode are enabled"; }
if enabled libmfx; then
- check_cc MFX_CODEC_VP9 "mfx/mfxvp9.h mfx/mfxstructures.h" "MFX_CODEC_VP9"
+ check_cc MFX_CODEC_VP9 "mfx/mfxdefs.h mfx/mfxstructures.h" "MFX_CODEC_VP9"
fi
enabled libmodplug && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load