diff options
| author | Hans Verkuil <[email protected]> | 2019-05-07 09:30:24 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-06-11 15:31:42 +0000 |
| commit | 8307f0ab0331ad8b8bb8af85df372e6bfda688e7 (patch) | |
| tree | eb69cf3ac6587e34b9878da011a84243dd32677a /drivers/media/platform/vimc/vimc-core.c | |
| parent | media: vicodec: set KEY/PFRAME flag when decoding (diff) | |
| download | kernel-8307f0ab0331ad8b8bb8af85df372e6bfda688e7.tar.gz kernel-8307f0ab0331ad8b8bb8af85df372e6bfda688e7.zip | |
media: vicodec: use correct sizeimage value when draining
After a resolution change is detected, q_data->sizeimage is updated
to the new format, but buf_prepare is still draining buffers that
need to use the old pre-resolution-change value. So store the sizeimage
value in q_data->vb2_sizeimage in queue_setup and use that in
buf_prepare.
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions
