Skip to content

Commit

Permalink
fix mmf not release
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed Aug 7, 2024
1 parent ac0a195 commit 814d8c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/vision/port/maixcam/maix_camera_mmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ namespace maix::camera
log::error("mmf del vi channel failed");
}
}

mmf_deinit();
}

camera::Camera *Camera::add_channel(int width, int height, image::Format format, int fps, int buff_num, bool open)
Expand Down

0 comments on commit 814d8c9

Please sign in to comment.