diff options
author | 2021-10-08 11:04:22 +0100 | |
---|---|---|
committer | 2021-10-19 08:08:39 +0100 | |
commit | 298d8e8f7bcf023aceb60232d59b983255fec0df (patch) | |
tree | 7c205327b54f99e82783537f1fd3aad0c47bbe5b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: imx-jpeg: Add pm-runtime support for imx-jpeg (diff) | |
download | wireguard-linux-298d8e8f7bcf023aceb60232d59b983255fec0df.tar.xz wireguard-linux-298d8e8f7bcf023aceb60232d59b983255fec0df.zip |
media: rkvdec: Do not override sizeimage for output format
The rkvdec H.264 decoder currently overrides sizeimage for the output
format. This causes issues when userspace requires and requests a larger
buffer, but ends up with one of insufficient size.
Instead, only provide a default size if none was requested. This fixes
the video_decode_accelerator_tests from Chromium failing on the first
frame due to insufficient buffer space. It also aligns the behavior
of the rkvdec driver with the Hantro and Cedrus drivers.
Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions