diff mbox series

[FFmpeg-devel,v10,02/13] configure: fix the check for MFX_CODEC_VP9

Message ID 20220712062735.20339-3-haihao.xiang@intel.com
State New
Headers show
Series make QSV works with the Intel's oneVPL | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Xiang, Haihao July 12, 2022, 6:27 a.m. UTC
From: Haihao Xiang <haihao.xiang@intel.com>

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 is
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
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/configure b/configure
index 9f0c2eabc0..959526ec8f 100755
--- a/configure
+++ b/configure
@@ -6581,7 +6581,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"
 enabled libmodplug        && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load