MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / Close

Method Close

src/ImageReader.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void ImageReader::Close()
85{
86 if (is_open)
87 {
88 is_open = false;
89 // Delete the image
90 image.reset();
91 }
92}
93
94// Get an openshot::Frame object for a specific frame number of this reader.
95std::shared_ptr<Frame> ImageReader::GetFrame(int64_t requested_frame)

Callers

nothing calls this directly

Calls 1

resetMethod · 0.80

Tested by

no test coverage detected