summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-24 01:24:39 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-24 01:26:38 +0300
commit3d6471013462f614bb14b3a775881b02c724df7a (patch)
treed9b18787d26e9e6377a4773eaa271b405d804835 /main.c
parentb0be8eb957c6a54040a3a680d6549419dd885d27 (diff)
v4l2: Query buffer sizes when exporting buffers
In order to properly import buffers, the size of each buffer to be imported must be known. The size is queried when the buffers are mmap()ed, but mapping them isn't mandatory. Query the size when exporting buffers to ensure that we always have a valid size for import. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions