diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-07-25 13:08:36 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-02 23:37:50 +0400 |
commit | 529a53c6087b3e8648185dfa4491043ec43554d6 (patch) | |
tree | b21699ae1bc18b4fd745e02c489e12cd672358da /Documentation/video4linux | |
parent | 41b9aa0040526d13e08e2ad79970377afe1d622d (diff) | |
download | linux-529a53c6087b3e8648185dfa4491043ec43554d6.tar.xz |
[media] vb2: fix multiplanar read() with non-zero data_offset
If this is a multiplanar buf_type and the plane we want to read has a
non-zero data_offset, then that data_offset was not taken into account.
Note that read() or write() for formats with more than one plane is currently
not allowed, hence the use of 'planes[0]' since this is only relevant for a
single-plane format.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/video4linux')
0 files changed, 0 insertions, 0 deletions