Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed May 5, 2022
1 parent 621ffc5 commit 870bfdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions selfdrive/camerad/cameras/camera_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ void CameraState::camera_init(MultiCameraState *multi_cam_state_, VisionIpcServe
assert(view.width && view.height);

image_reader = new ImageReader(&view, format);

ANativeWindow *window = image_reader->GetNativeWindow();
native_camera->create_capture_session(window);
}

void CameraState::camera_open() {
Expand Down

0 comments on commit 870bfdf

Please sign in to comment.