diff options
| author | Chen-Yu Tsai <[email protected]> | 2022-07-04 09:49:30 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-08 18:11:25 +0100 |
| commit | fe3d651627d61210c6905339e5281d3b9db75033 (patch) | |
| tree | 4e672155fc0f1305ed97693d8dbfacca18b52a48 /tools/perf/scripts/python | |
| parent | cfce5b186537b0339d0872aa209a927e4a04be52 (diff) | |
media: mediatek: vcodec: Initialize decoder parameters for each instance
The decoder parameters are stored in each instance's context data. This
needs to be initialized per-instance, but a previous fix incorrectly
changed it to only be initialized for the first opened instance. This
resulted in subsequent instances not correctly signaling the requirement
for the Requests API.
Fix this by calling the initializing function outside of the
v4l2_fh_is_singular() conditional block.
Fixes: faddaa735c20 ("media: mediatek: vcodec: Initialize decoder parameters after getting dec_capability")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Yunfei Dong <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions