Don't drop status message in ConvertFromImageFrame

PiperOrigin-RevId: 576667666
This commit is contained in:
Sebastian Schmidt 2023-10-25 15:44:27 -07:00 committed by Copybara-Service
parent 3017c02d3d
commit a277d853ea

View File

@ -151,7 +151,7 @@ static std::shared_ptr<GpuBufferStorageCvPixelBuffer> ConvertFromImageFrame(
std::shared_ptr<GpuBufferStorageImageFrame> frame) {
auto status_or_buffer =
CreateCVPixelBufferForImageFrame(frame->image_frame());
ABSL_CHECK(status_or_buffer.ok());
ABSL_CHECK_OK(status_or_buffer);
return std::make_shared<GpuBufferStorageCvPixelBuffer>(
std::move(status_or_buffer).value());
}