diff options
| author | Michał Krawczyk <[email protected]> | 2023-01-30 13:54:18 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-04-12 09:35:44 +0200 |
| commit | 50248ad9f190d527cbd578190ca769729518b703 (patch) | |
| tree | aebd015f4841dfc0a2d63df5f78e82af16751d92 /tools/perf/scripts/python/netdev-times.py | |
| parent | 9c592f8ab114875fdb3b2040f01818e53de44991 (diff) | |
media: venus: dec: Fix handling of the start cmd
The decoder driver should clear the last_buffer_dequeued flag of the
capture queue upon receiving V4L2_DEC_CMD_START.
The last_buffer_dequeued flag is set upon receiving EOS (which always
happens upon receiving V4L2_DEC_CMD_STOP).
Without this patch, after issuing the V4L2_DEC_CMD_STOP and
V4L2_DEC_CMD_START, the vb2_dqbuf() function will always fail, even if
the buffers are completed by the hardware.
Fixes: beac82904a87 ("media: venus: make decoder compliant with stateful codec API")
Signed-off-by: Michał Krawczyk <[email protected]>
Signed-off-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions