diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-12-13 17:13:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 10:14:25 +0100 |
commit | 88e268702bfba78448abd20a31129458707383aa (patch) | |
tree | a008036986dd5827c1883754e33ce6a744db8a44 /Documentation/DocBook/media | |
parent | [media] vb2: return ENOBUFS in start_streaming in case of too few buffers (diff) | |
download | linux-88e268702bfba78448abd20a31129458707383aa.tar.xz linux-88e268702bfba78448abd20a31129458707383aa.zip |
[media] vb2: Improve file I/O emulation to handle buffers in any order
videobuf2 file I/O emulation assumed that buffers dequeued from the
driver would return in the order they were enqueued in the driver.
Improve the file I/O emulator's book-keeping to remove this assumption.
Also set the buf->size properly if a write() dequeues a buffer and the
VB2_FILEIO_WRITE_IMMEDIATELY flag is set.
Based on an initial patch by Andy Walls.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/DocBook/media')
0 files changed, 0 insertions, 0 deletions