diff options
| author | Philipp Zabel <[email protected]> | 2015-05-04 07:51:06 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-05-12 03:53:06 -0300 |
| commit | c16218402a000bb25c1277c43ae98c11bcb59bd1 (patch) | |
| tree | cccdee965d974306a2ad6e67aeb0cc0ae356bc40 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | dc199241624a2fd85d9b0d8303babd60feadd0e6 (diff) | |
[media] videobuf2: return -EPIPE from DQBUF after the last buffer
If the last buffer was dequeued from a capture queue, let poll return
immediately and let DQBUF return -EPIPE to signal there will no more
buffers to dequeue until STREAMOFF.
The driver signals the last buffer by setting the V4L2_BUF_FLAG_LAST.
To reenable dequeuing on the capture queue, the driver must explicitly
call vb2_clear_last_buffer_queued. The last buffer queued flag is
cleared automatically during STREAMOFF.
Signed-off-by: Philipp Zabel <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Kamil Debski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions