aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2017-12-08 09:01:28 -0500
committerMauro Carvalho Chehab <[email protected]>2017-12-18 15:00:33 -0500
commit327553ae8eb87a66b2c9e041e890ea66f21009b2 (patch)
tree7b2f99446ae015fb519848fd4f3eac46243efe02 /tools/perf/scripts/python
parent645838b51962e457250569d0fbe435d13792b93f (diff)
media: vb2: clear V4L2_BUF_FLAG_LAST when filling vb2_buffer
V4L2_BUF_FLAG_LAST is a signal from the driver to userspace for buffers on the capture queue. When userspace queues back a capture buffer with the flag set, we should clear it. Otherwise, if userspace restarts streaming after EOS, without reallocating the buffers, mem2mem devices will erroneously signal EOS prematurely, as soon as the already flagged buffer is dequeued. Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions