Instead of hanging forever in a _get_state() in case an error occurs when starting up camerabin, bail out and print an error message. Also remove unnecessary _get_state() when shutting down the pipeline.
Instead of hanging forever in a _get_state() in case an error occurs when starting up camerabin, bail out and print an error message. Also remove unnecessary _get_state() when shutting down the pipeline.