diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-01-10 08:59:03 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 08:59:03 -0300 |
commit | 1c7f17f6063d0b747d94a17059b176f3ebdb3e3e (patch) | |
tree | 5da96ff55339ea98501a9e1f7544a243b20e9983 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0111-V4L2VDA-fix-vp9-crash-caused-by-DequeueResolutionCha.patch | |
parent | bd8ff87bf68f52b3933c5d1e9f83c610f18a963d (diff) | |
parent | 481b7f0468b3f5928f8f0fc6aa21e4836fb3f3c5 (diff) | |
download | meta-freescale-1c7f17f6063d0b747d94a17059b176f3ebdb3e3e.tar.gz |
Merge pull request #1380 from Freescale/backport-1375-to-kirkstone
[Backport kirkstone] chromium-ozone-wayland: add bbappend and patches as per NXP 5.15.71_2…
Diffstat (limited to 'dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0111-V4L2VDA-fix-vp9-crash-caused-by-DequeueResolutionCha.patch')
-rw-r--r-- | dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0111-V4L2VDA-fix-vp9-crash-caused-by-DequeueResolutionCha.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0111-V4L2VDA-fix-vp9-crash-caused-by-DequeueResolutionCha.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0111-V4L2VDA-fix-vp9-crash-caused-by-DequeueResolutionCha.patch new file mode 100644 index 00000000..bf78e1fe --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0111-V4L2VDA-fix-vp9-crash-caused-by-DequeueResolutionCha.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 46217b35c7ec0a84175882acb4e8c363975d5701 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hou Qi <qi.hou@nxp.com> | ||
3 | Date: Thu, 18 Aug 2022 12:20:33 +0800 | ||
4 | Subject: [PATCH 11/17] V4L2VDA: fix vp9 crash caused by | ||
5 | DequeueResolutionChangeEvent | ||
6 | |||
7 | Handle source change event only when decoder receives driver reported | ||
8 | source change event. | ||
9 | |||
10 | Upstream-Status: Inappropriate [NXP specific] | ||
11 | --- | ||
12 | media/gpu/v4l2/v4l2_video_decode_accelerator.cc | 3 +-- | ||
13 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/media/gpu/v4l2/v4l2_video_decode_accelerator.cc b/media/gpu/v4l2/v4l2_video_decode_accelerator.cc | ||
16 | index c00cd2b5f6ad7..ff543f6865802 100644 | ||
17 | --- a/media/gpu/v4l2/v4l2_video_decode_accelerator.cc | ||
18 | +++ b/media/gpu/v4l2/v4l2_video_decode_accelerator.cc | ||
19 | @@ -1247,8 +1247,7 @@ void V4L2VideoDecodeAccelerator::ServiceDeviceTask(bool event_pending) { | ||
20 | gfx::Size visible_size; | ||
21 | bool again; | ||
22 | if (GetFormatInfo(&format, &visible_size, &again) && !again) { | ||
23 | - resolution_change_pending = true; | ||
24 | - DequeueResolutionChangeEvent(); | ||
25 | + resolution_change_pending = DequeueResolutionChangeEvent(); | ||
26 | } | ||
27 | } | ||
28 | |||
29 | -- | ||
30 | 2.17.1 | ||
31 | |||