diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-07-24 16:19:37 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-26 02:20:04 +0400 |
commit | 1612f20ea025f55741b2d6e8b9c91047a7324a76 (patch) | |
tree | e63809b5b71c44fcf2d8df9ec48c9ae715078145 /include/media/v4l2-ctrls.h | |
parent | ccf58cb4eac050ebe777cfcb209bc53d58f5fd79 (diff) | |
download | linux-1612f20ea025f55741b2d6e8b9c91047a7324a76.tar.xz |
[media] vb2: fix vb2_poll for output streams
vb2_poll should always return POLLOUT | POLLWRNORM as long as there
are fewer buffers queued than there are buffers available. Poll for
an output stream should only wait if all buffers are queued and nobody
is dequeuing them.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/v4l2-ctrls.h')
0 files changed, 0 insertions, 0 deletions