summaryrefslogtreecommitdiffstats
path: root/lib/find_bit_benchmark.c
diff options
context:
space:
mode:
authorHans Verkuil2019-05-07 11:30:24 +0200
committerMauro Carvalho Chehab2019-06-11 17:31:42 +0200
commit8307f0ab0331ad8b8bb8af85df372e6bfda688e7 (patch)
treeeb69cf3ac6587e34b9878da011a84243dd32677a /lib/find_bit_benchmark.c
parentmedia: vicodec: set KEY/PFRAME flag when decoding (diff)
downloadkernel-qcow2-linux-8307f0ab0331ad8b8bb8af85df372e6bfda688e7.tar.gz
kernel-qcow2-linux-8307f0ab0331ad8b8bb8af85df372e6bfda688e7.tar.xz
kernel-qcow2-linux-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 <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'lib/find_bit_benchmark.c')
0 files changed, 0 insertions, 0 deletions