diff options
Diffstat (limited to 'recipes-multimedia/onevpl/files/0005-Fix-sample_multi_transcode-intermittent-segfault.patch')
-rw-r--r-- | recipes-multimedia/onevpl/files/0005-Fix-sample_multi_transcode-intermittent-segfault.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/recipes-multimedia/onevpl/files/0005-Fix-sample_multi_transcode-intermittent-segfault.patch b/recipes-multimedia/onevpl/files/0005-Fix-sample_multi_transcode-intermittent-segfault.patch deleted file mode 100644 index 52f8fb7e..00000000 --- a/recipes-multimedia/onevpl/files/0005-Fix-sample_multi_transcode-intermittent-segfault.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 1f03f8e2569e69e558d077643ea628d3ba3cacb7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Vincent Cheah Beng Keat <vincent.beng.keat.cheah@intel.com> | ||
3 | Date: Thu, 25 May 2023 01:16:18 +0800 | ||
4 | Subject: [PATCH 5/5] Fix sample_multi_transcode intermittent segfault | ||
5 | |||
6 | HSD ID: 15012772965 | ||
7 | Tested command: ./sample_multi_transcode -par config.par | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | Expect it to be removed once move to v2023.3.0 and above. | ||
11 | https://github.com/oneapi-src/oneVPL/commit/c21756e6a235fbde08844cca5e429ca142eef479 | ||
12 | --- | ||
13 | tools/legacy/sample_misc/wayland/src/class_wayland.cpp | 4 +++- | ||
14 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/tools/legacy/sample_misc/wayland/src/class_wayland.cpp b/tools/legacy/sample_misc/wayland/src/class_wayland.cpp | ||
17 | index af4d3f3..e86ceee 100644 | ||
18 | --- a/tools/legacy/sample_misc/wayland/src/class_wayland.cpp | ||
19 | +++ b/tools/legacy/sample_misc/wayland/src/class_wayland.cpp | ||
20 | @@ -152,8 +152,10 @@ void Wayland::FreeSurface() { | ||
21 | while (!m_buffers_list.empty()) { | ||
22 | wl_surface_attach(m_surface, NULL, 0, 0); | ||
23 | wl_surface_commit(m_surface); | ||
24 | - if (wl_display_dispatch_queue(m_display, m_event_queue) < 1) | ||
25 | + if (wl_display_dispatch_queue(m_display, m_event_queue) < 1) { | ||
26 | + DestroyBufferList(); | ||
27 | break; | ||
28 | + } | ||
29 | } | ||
30 | |||
31 | wl_surface_destroy(m_surface); | ||
32 | -- | ||
33 | 2.40.1 | ||
34 | |||