Mesa (main): frontends/omx: preserve omx to keep current mode for avc decoding

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 12 20:49:42 UTC 2022


Module: Mesa
Branch: main
Commit: fb1d1d3b1f2e620249fd39a573aa811f6300e9ea
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb1d1d3b1f2e620249fd39a573aa811f6300e9ea

Author: Ruijing Dong <ruijing.dong at amd.com>
Date:   Mon Jan 10 11:29:52 2022 -0500

frontends/omx: preserve omx to keep current mode for avc decoding

Preparing to disable h264 extension flag in vaapi path, and this change
will not affect omx.

Signed-off-by: Ruijing Dong <ruijing.dong at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14484>

---

 src/gallium/frontends/omx/vid_dec_h264_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/frontends/omx/vid_dec_h264_common.c b/src/gallium/frontends/omx/vid_dec_h264_common.c
index 4074099cdd3..62b7387251e 100644
--- a/src/gallium/frontends/omx/vid_dec_h264_common.c
+++ b/src/gallium/frontends/omx/vid_dec_h264_common.c
@@ -46,7 +46,7 @@ static void vid_dec_h264_BeginFrame(vid_dec_PrivateType *priv)
       templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM;
       templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420;
       templat.max_references = priv->picture.h264.num_ref_frames;
-      templat.expect_chunked_decode = true;
+      templat.expect_chunked_decode = false;
 #if ENABLE_ST_OMX_BELLAGIO
       omx_base_video_PortType *port;
       port = (omx_base_video_PortType *)priv->ports[OMX_BASE_FILTER_INPUTPORT_INDEX];



More information about the mesa-commit mailing list