[media] DocBook media: update bytesused field description
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Apr 2014 13:01:28 +0000 (10:01 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:53:52 +0000 (18:53 -0300)
commitb050b29e071a0b11262ad513700ab073f58c45b2
tree39a449e59b218f0b7a663f4f3886d6d7156e88ad
parent3050040b4ed95a8e3fa243d57f78a1d7fb1ab77b
[media] DocBook media: update bytesused field description

For output buffers the application has to set the bytesused field.
In reality applications often do not set this since drivers that
deal with fix image sizes just override it anyway.

The vb2 framework will replace this field with the length field if
bytesused was set to 0 by the application, which is what happens
in practice. Document this behavior.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/io.xml