diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-03 16:06:34 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-07 16:09:22 +0200 |
commit | 6c4999e6a41dc11f0c3a0289c050c0d6b6174292 (patch) | |
tree | 2c3a040bf51d5d79b589c931c49537500d512e5d /src/gstreamer/gstlibcamerapool.cpp | |
parent | 35f726d4da357a95b6339d77ea43f39c1d6e56c2 (diff) |
android: camera_device: Clear streams_ at stop time
When the CameraDevice is stopped, we need to clear the vector
of CameraStream instances to make sure they get deleted and all the
resources they have acquired get released.
Reviewed-by: Umang Jain <email@uajain.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/gstreamer/gstlibcamerapool.cpp')
0 files changed, 0 insertions, 0 deletions