|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| uint64_t MayaFlux::IO::IOManager::register_video_reader | ( | std::shared_ptr< VideoFileReader > | reader | ) |
Assign a globally unique reader_id and take ownership of a reader.
Called internally by load_video(). Advanced users who open a VideoFileReader manually can call this before load_into_container() to participate in managed dispatch and lifetime tracking.
Calls reader->set_reader_id(id) before returning.
| reader | Fully-opened VideoFileReader. |
Definition at line 149 of file IOManager.cpp.
References MayaFlux::Journal::Core, MayaFlux::Journal::FileIO, m_next_reader_id, m_readers_mutex, m_video_readers, MF_DEBUG, and MF_WARN.
Referenced by load_video().
Here is the caller graph for this function: