commit | 489648afcd309bb84567b59e140d9cdeddecb356 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Nov 20 09:25:52 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Dec 18 14:03:00 2015 -0200 |
tree | 651130166f7677aafeeb4031c9bbf06196014868 | |
parent | 10cc3b1e12964ae71aefefb2c2b61304d2264cac [diff] |
[media] videobuf2-core: move __setup_lengths into __vb2_queue_alloc() Rather than setting up the lengths at the end, set them up when the vb2_buffer is allocated. This also ensures that buf_init() sees the right length values. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>