diff options
author | Yew, Chang Ching <chang.ching.yew@intel.com> | 2022-02-11 10:24:42 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-02-11 12:50:06 +0800 |
commit | 840a4824e7f85a7f9fab1bc1fa8814aa6da2bf13 (patch) | |
tree | 7e9d86c096bec4a78c59b3f02558c30c7a1ae6ce /recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch | |
parent | c5ee8853cc2b40e081153271f6b866d4dbdfeac0 (diff) | |
download | meta-intel-840a4824e7f85a7f9fab1bc1fa8814aa6da2bf13.tar.gz |
onevpl: upgrade 2021.6.0 -> 2022.0.3
New in This Release
===================
* Updated mfxvideo++.h to remove deprecation warnings
* Sample* tools select oneVPL 2.x APIs by default
* Sample* tool update to support new GPU features
* Updates to C++ & Python previews:
* AV1 extension buffer support
* new property interface
* Targets Python 3.7
* Updated documentation and build for OpenVINO interop sample
* The libmfx.dll and libmfx.so.2021.1.11 libraries, that had been renamed to libvpl.* have been removed
Release notes:
https://github.com/oneapi-src/oneVPL/releases/tag/v2022.0.0
Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch')
-rw-r--r-- | recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch b/recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch index 93e5ed0d..14453279 100644 --- a/recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch +++ b/recipes-multimedia/onevpl/onevpl/0001-Fix-basename-build-issue-with-musl_libc.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d16afe9f9302e4995f12d699019eba170bb6db21 Mon Sep 17 00:00:00 2001 | 1 | From 72ceb46b43a7a74d20ced961aaff9366ccce53a9 Mon Sep 17 00:00:00 2001 |
2 | From: "Yew, Chang Ching" <chang.ching.yew@intel.com> | 2 | From: "Yew, Chang Ching" <chang.ching.yew@intel.com> |
3 | Date: Fri, 8 Oct 2021 08:45:39 +0800 | 3 | Date: Mon, 24 Jan 2022 20:49:50 +0800 |
4 | Subject: [PATCH] Fix basename() build issue with musl_libc | 4 | Subject: [PATCH 1/5] Fix basename() build issue with musl_libc |
5 | 5 | ||
6 | Upstream-Status: Submitted | 6 | Upstream-Status: Submitted |
7 | innersource PR #264 | 7 | innersource PR #264 |
@@ -12,7 +12,7 @@ Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com> | |||
12 | 1 file changed, 2 insertions(+), 1 deletion(-) | 12 | 1 file changed, 2 insertions(+), 1 deletion(-) |
13 | 13 | ||
14 | diff --git a/tools/legacy/sample_common/src/vaapi_utils.cpp b/tools/legacy/sample_common/src/vaapi_utils.cpp | 14 | diff --git a/tools/legacy/sample_common/src/vaapi_utils.cpp b/tools/legacy/sample_common/src/vaapi_utils.cpp |
15 | index b69dbe44..9382535a 100644 | 15 | index 86193d17..db71d413 100644 |
16 | --- a/tools/legacy/sample_common/src/vaapi_utils.cpp | 16 | --- a/tools/legacy/sample_common/src/vaapi_utils.cpp |
17 | +++ b/tools/legacy/sample_common/src/vaapi_utils.cpp | 17 | +++ b/tools/legacy/sample_common/src/vaapi_utils.cpp |
18 | @@ -7,6 +7,7 @@ | 18 | @@ -7,6 +7,7 @@ |
@@ -23,15 +23,15 @@ index b69dbe44..9382535a 100644 | |||
23 | #include <dlfcn.h> | 23 | #include <dlfcn.h> |
24 | #include <stdexcept> | 24 | #include <stdexcept> |
25 | 25 | ||
26 | @@ -26,7 +27,7 @@ SimpleLoader::SimpleLoader(const char* name) { | 26 | @@ -24,7 +25,7 @@ namespace MfxLoader { |
27 | |||
28 | SimpleLoader::SimpleLoader(const char* name) { | ||
27 | dlerror(); | 29 | dlerror(); |
28 | so_handle = dlopen(name, RTLD_GLOBAL | RTLD_NOW); | 30 | - so_handle = dlopen(name, RTLD_GLOBAL | RTLD_NOW); |
31 | + so_handle = dlopen(basename((char *)name), RTLD_GLOBAL | RTLD_NOW); | ||
29 | if (NULL == so_handle) { | 32 | if (NULL == so_handle) { |
30 | - so_handle = dlopen(basename(name), RTLD_GLOBAL | RTLD_NOW); | 33 | std::cerr << dlerror() << std::endl; |
31 | + so_handle = dlopen(basename((char *)name), RTLD_GLOBAL | RTLD_NOW); | 34 | throw std::runtime_error("Can't load library"); |
32 | if (NULL == so_handle) { | ||
33 | std::cerr << dlerror() << std::endl; | ||
34 | throw std::runtime_error("Can't load library"); | ||
35 | -- | 35 | -- |
36 | 2.33.0 | 36 | 2.34.1 |
37 | 37 | ||