Skip to content

Commit

Permalink
Don't drop status message in ConvertFromImageFrame
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 576667666
  • Loading branch information
schmidt-sebastian authored and copybara-github committed Oct 25, 2023
1 parent 3017c02 commit a277d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediapipe/gpu/gpu_buffer_storage_cv_pixel_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit a277d85

Please sign in to comment.