omx/tizonia: fix build
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 6 Oct 2020 12:29:15 +0000 (14:29 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 7 Oct 2020 07:05:21 +0000 (09:05 +0200)
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@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7026>

src/gallium/frontends/omx/tizonia/h264dprc.c

index c5df994..7a0063b 100644 (file)
@@ -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;