commit | 20eedf0e16918069241ec16b1bf003325016ed6e | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Nov 20 09:36:49 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Dec 18 14:04:29 2015 -0200 |
tree | 9d3904f06cc2cc608994279abe9097a808ee683f | |
parent | e32f856ab29e9369c055e6b7f0e554c79341b1c6 [diff] |
[media] videobuf2-core: call __setup_offsets before buf_init() Ensure that the offsets are correct before buf_init() is called. As a consequence the __setup_offsets() function now sets up the offsets for the given buffer instead of for all new buffers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>