Shared buffer usage for camera is done. capture thread is working correctly