summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2021-02-18 13:38:25 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2021-05-17 01:58:24 +0000
commitbeda9a73339bef878e95798f629a868c647627ce (patch)
treeee6bd23ae6c4fab10755a200c967188ee4576846 /meson_options.txt
parent5e02cec1c1081eb98b523e669e4e206e0d0244c3 (diff)
downloadgstreamer-plugins-bad-beda9a73339bef878e95798f629a868c647627ce.tar.gz
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>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 81eabbc8a..4a9778073 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -186,6 +186,10 @@ option('hls-crypto', type : 'combo', value : 'auto', choices : ['auto', 'nettle'
option('sctp-internal-usrsctp', type: 'feature', value : 'enabled',
description: 'Whether to use the bundled usrsctp library or the system one')
+# MSDK plugin options
+option('mfx_api', type : 'combo', choices : ['MSDK', 'oneVPL', 'auto'], value : 'auto',
+ description : 'Select MFX API to build against')
+
# Common feature options
option('examples', type : 'feature', value : 'auto', yield : true)
option('tests', type : 'feature', value : 'auto', yield : true)