msdk: allow user build this plugin against MFX version 2.2+ (oneVPL)
authorHaihao Xiang <haihao.xiang@intel.com>
Thu, 18 Feb 2021 05:38:25 +0000 (13:38 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Mon, 17 May 2021 01:58:24 +0000 (01:58 +0000)
commitbeda9a73339bef878e95798f629a868c647627ce
treeee6bd23ae6c4fab10755a200c967188ee4576846
parent5e02cec1c1081eb98b523e669e4e206e0d0244c3
msdk: allow user build this plugin against MFX version 2.2+ (oneVPL)

Intel oneVPL SDK (oneVPL) is a successor to Intel Media SDK (MSDK)[1].
User may use -Dmfx_api=MSDK or -Dmfx_api=oneVPL to specify the required
SDK when building this plugin. If the SDK is not specified, meson will
try MSDK firstly, then oneVPL if MSDK is not available

Version 2.2+ is required in this patch because pkg-config file was not
provided officially before version 2.2

[1]https://spec.oneapi.com/versions/latest/elements/oneVPL/source/appendix/VPL_intel_media_sdk.html

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1503>
meson_options.txt
sys/msdk/meson.build