summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamera.cpp
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2021-12-01 10:15:07 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-12-01 16:35:58 +0000
commitbab0f7df5672524d403ca300d8d6b9f1bf218fd7 (patch)
treee3403a3888ac3e05afe90f19680a8a7bccd2329b /src/gstreamer/gstlibcamera.cpp
parent8acc82ec0d317b2d8cae6ba57904fbd3811f89e0 (diff)
pipeline: raspberrypi: Fix under-allocation of embedded data buffers
The code was reducing the number of raw stream buffers allocated when the application is providing some of its own. However, it was not taking account of the fact that the application cannot supply embedded data buffers, so it must always allocate a reasonable minimum number of these buffers (possibly more than the number of raw stream buffers) to prevent frame drops. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamera.cpp')
0 files changed, 0 insertions, 0 deletions