Mesa (staging/20.1): omx/tizonia: fix build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Oct 10 08:41:41 UTC 2020


Module: Mesa
Branch: staging/20.1
Commit: c3f8cfe02579cb936a283f8432807eebb604d523
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3f8cfe02579cb936a283f8432807eebb604d523

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Oct  6 14:29:15 2020 +0200

omx/tizonia: fix build

Fixes: 24f2b0a8560 ("gallium/video: remove pipe_video_buffer.chroma_format")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3595
Reviewed-by: Leo Liu <leo.liu at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7026>
(cherry picked from commit 8b205402c34d9217ef2c73e96db92ba3e99d507e)

---

 .pick_status.json                                 | 2 +-
 src/gallium/state_trackers/omx/tizonia/h264dprc.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index defe22a9bf1..f3e0eef4adf 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -391,7 +391,7 @@
         "description": "omx/tizonia: fix build",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "master_sha": null,
         "because_sha": "24f2b0a8560f34745854bf8263fa7c2d0f95f2bc"
     },
diff --git a/src/gallium/state_trackers/omx/tizonia/h264dprc.c b/src/gallium/state_trackers/omx/tizonia/h264dprc.c
index c5df994b8c3..7a0063beace 100644
--- a/src/gallium/state_trackers/omx/tizonia/h264dprc.c
+++ b/src/gallium/state_trackers/omx/tizonia/h264dprc.c
@@ -204,7 +204,6 @@ static void get_eglimage(vid_dec_PrivateType* priv) {
 
         memset(&templat, 0, sizeof(templat));
         templat.buffer_format = p_res->format;
-        templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_NONE;
         templat.width = p_res->width0;
         templat.height = p_res->height0;
         templat.interlaced = 0;



More information about the mesa-commit mailing list