MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ close()

std::future< bool > MayaFlux::IO::VideoFileWriter::close ( )

Definition at line 246 of file VideoFileWriter.cpp.

247{
248 if (!m_closing.exchange(true))
249 post(CloseCmd {});
250 return m_close_promise.get_future();
251}
bool post(const WorkItem &item)
std::promise< bool > m_close_promise

References m_close_promise, m_closing, and post().

Referenced by stop_recording(), and ~VideoFileWriter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: