diff options
author | Yew, Chang Ching <chang.ching.yew@intel.com> | 2021-07-28 22:27:04 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-07-29 08:11:39 +0800 |
commit | 7a5e47b6a594eb29dfe84e47f043a49974bc0402 (patch) | |
tree | 18c2e54c41c256a02974f6deac41fa651f616313 /recipes-multimedia | |
parent | d6ccf94534907b140489e02b3dc20f5c85e36c7f (diff) | |
download | meta-intel-7a5e47b6a594eb29dfe84e47f043a49974bc0402.tar.gz |
onevpl: Fix sample_multi_transcode join issue
Fix issue with pipeline of multiple decode sessions and vpp composition
session due to missing session join
Patch:
0001-Fix-sample_multi_transcode-join-issue.patch
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')
-rw-r--r-- | recipes-multimedia/onevpl/onevpl/0001-Fix-sample_multi_transcode-join-issue.patch | 37 | ||||
-rw-r--r-- | recipes-multimedia/onevpl/onevpl_2021.4.0.bb | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/recipes-multimedia/onevpl/onevpl/0001-Fix-sample_multi_transcode-join-issue.patch b/recipes-multimedia/onevpl/onevpl/0001-Fix-sample_multi_transcode-join-issue.patch new file mode 100644 index 00000000..2d19430e --- /dev/null +++ b/recipes-multimedia/onevpl/onevpl/0001-Fix-sample_multi_transcode-join-issue.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 607535701900cb0d46354d70e2cfceb1986e7051 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Park, Seunghyuk H" <seunghyuk.h.park@intel.com> | ||
3 | Date: Sat, 17 Jul 2021 10:37:08 -0700 | ||
4 | Subject: [PATCH] Fix sample_multi_transcode join issue | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | inner-source #157fadd2f | ||
8 | |||
9 | --- | ||
10 | .../sample_multi_transcode/src/pipeline_transcode.cpp | 6 +++--- | ||
11 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
12 | |||
13 | diff --git a/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp b/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp | ||
14 | index fee3b9e0..50a000d0 100644 | ||
15 | --- a/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp | ||
16 | +++ b/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp | ||
17 | @@ -342,14 +342,14 @@ mfxStatus CTranscodingPipeline::DecodePreInit(sInputParams *pParams) { | ||
18 | MSDK_CHECK_STATUS(sts, "InitDecMfxParams failed"); | ||
19 | } | ||
20 | } | ||
21 | -#if !defined(MFX_ONEVPL) | ||
22 | else { | ||
23 | - m_mfxDecParams = m_pParentPipeline->GetDecodeParam(TargetID); | ||
24 | + m_mfxDecParams = m_pParentPipeline->GetDecodeParam(TargetID); | ||
25 | +#if !defined(MFX_ONEVPL) | ||
26 | auto mvc = m_mfxDecParams.AddExtBuffer<mfxExtMVCSeqDesc>(); | ||
27 | *mvc = m_pParentPipeline->GetDecMVCSeqDesc(); | ||
28 | m_bOwnMVCSeqDescMemory = false; | ||
29 | - } | ||
30 | #endif | ||
31 | + } | ||
32 | |||
33 | if (pParams->nFPS) { | ||
34 | this->m_nReqFrameTime = 1000000 / pParams->nFPS; | ||
35 | -- | ||
36 | 2.32.0 | ||
37 | |||
diff --git a/recipes-multimedia/onevpl/onevpl_2021.4.0.bb b/recipes-multimedia/onevpl/onevpl_2021.4.0.bb index 464be1e0..cefa38bd 100644 --- a/recipes-multimedia/onevpl/onevpl_2021.4.0.bb +++ b/recipes-multimedia/onevpl/onevpl_2021.4.0.bb | |||
@@ -12,6 +12,7 @@ SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https \ | |||
12 | file://0001-Adding-Wayland-support-to-legacy-tools.patch \ | 12 | file://0001-Adding-Wayland-support-to-legacy-tools.patch \ |
13 | file://0001-Corrected-the-install-path.patch \ | 13 | file://0001-Corrected-the-install-path.patch \ |
14 | file://0001-Adding-X11-DRI3-support.patch \ | 14 | file://0001-Adding-X11-DRI3-support.patch \ |
15 | file://0001-Fix-sample_multi_transcode-join-issue.patch \ | ||
15 | " | 16 | " |
16 | SRCREV = "d5c072584ee6f81305ed85de8759658ab7854606" | 17 | SRCREV = "d5c072584ee6f81305ed85de8759658ab7854606" |
17 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |