throw InvalidOperation("CameraApiBackend: camera_foreach_supported_capture_resolution failed.");
}
- SINGLEO_LOGD("Set camera resulition for preview with width(%d) and height(%d) in default.",
+ SINGLEO_LOGD("Set camera resolution for preview with width(%d) and height(%d) in default.",
_validPreviewResolution[0].width, _validPreviewResolution[0].height);
// TODO. set user-given resolution with the option string of singleo API later.
throw InvalidOperation("CameraApiBackend: camera_set_preview_resolution failed.");
}
- SINGLEO_LOGD("Set camera resulition for capture with width(%d) and height(%d) in default.",
+ SINGLEO_LOGD("Set camera resolution for capture with width(%d) and height(%d) in default.",
_validCaptureResolution[0].width, _validCaptureResolution[0].height);
ret = camera_set_capture_resolution(_camera, _validCaptureResolution[0].width, _validCaptureResolution[0].height);