aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-05-07 09:30:24 +0000
committerMauro Carvalho Chehab <[email protected]>2019-06-11 15:31:42 +0000
commit8307f0ab0331ad8b8bb8af85df372e6bfda688e7 (patch)
treeeb69cf3ac6587e34b9878da011a84243dd32677a /drivers/media/platform/vimc
parentmedia: vicodec: set KEY/PFRAME flag when decoding (diff)
downloadkernel-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')
0 files changed, 0 insertions, 0 deletions