diff options
| author | Chen-Yu Tsai <[email protected]> | 2022-06-20 07:33:49 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-06-27 09:16:29 +0100 |
| commit | e13ca460e20ed42fe57a3845b0bb9a82f81f05cd (patch) | |
| tree | 864c68c834578809d9884733909281e3ee9270d4 /tools/perf/scripts/python/bin | |
| parent | 978bbc392c51e0ece959978daa0ad7fb4dd7f932 (diff) | |
media: mediatek: vcodec: Skip SOURCE_CHANGE & EOS events for stateless
The stateless decoder API does not specify the usage of SOURCE_CHANGE
and EOF events. These events are used by stateful decoders to signal
changes in the bitstream. They do not make sense for stateless decoders.
Do not handle subscription for these two types of events for stateless
decoder instances. This fixes the last v4l2-compliance error:
Control ioctls:
fail: v4l2-test-controls.cpp(946): have_source_change || have_eos
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: FAIL
Fixes: 8cdc3794b2e3 ("media: mtk-vcodec: vdec: support stateless API")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Nicolas Dufresne <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions