summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorYew, Chang Ching <chang.ching.yew@intel.com>2021-07-28 14:27:04 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2021-07-29 00:11:39 (GMT)
commit7a5e47b6a594eb29dfe84e47f043a49974bc0402 (patch)
tree18c2e54c41c256a02974f6deac41fa651f616313 /recipes-multimedia
parentd6ccf94534907b140489e02b3dc20f5c85e36c7f (diff)
downloadmeta-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.patch37
-rw-r--r--recipes-multimedia/onevpl/onevpl_2021.4.0.bb1
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 0000000..2d19430
--- /dev/null
+++ b/recipes-multimedia/onevpl/onevpl/0001-Fix-sample_multi_transcode-join-issue.patch
@@ -0,0 +1,37 @@
1From 607535701900cb0d46354d70e2cfceb1986e7051 Mon Sep 17 00:00:00 2001
2From: "Park, Seunghyuk H" <seunghyuk.h.park@intel.com>
3Date: Sat, 17 Jul 2021 10:37:08 -0700
4Subject: [PATCH] Fix sample_multi_transcode join issue
5
6Upstream-Status: Backport
7inner-source #157fadd2f
8
9---
10 .../sample_multi_transcode/src/pipeline_transcode.cpp | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp b/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp
14index 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--
362.32.0
37
diff --git a/recipes-multimedia/onevpl/onevpl_2021.4.0.bb b/recipes-multimedia/onevpl/onevpl_2021.4.0.bb
index 464be1e..cefa38b 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 "
16SRCREV = "d5c072584ee6f81305ed85de8759658ab7854606" 17SRCREV = "d5c072584ee6f81305ed85de8759658ab7854606"
17S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"