summaryrefslogtreecommitdiff
path: root/utils/ipu3/ipu3-capture.sh
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-13 21:22:48 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-14 12:34:23 +0000
commitde584a58f787c4b30485bb592776a8c0b8dc0100 (patch)
treeeea110ab81c5cd5fd1adc07c84ac73515957b11e /utils/ipu3/ipu3-capture.sh
parent1bf51730760e19ed3f64d1d0a98a8bcd1e8671d0 (diff)
qcam: Move requestCompleted signal mapping
The MainWindow connects a handler to the Camera requestCompleted signal when the camera is opened, but never disconnects it. Move the connection to the startCapture() function, and ensure that it is disconnected again when the stream is stopped. This ensures that we can successfully tear down the stream, and restart with a new camera. Introducing the error_disconnect cleanup path in start_capture identified that we left the camera in the start state, thus we also add a call to camera->stop() when disconnecting the signal connection. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/ipu3/ipu3-capture.sh')
0 files changed, 0 insertions, 0 deletions