|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Buffers::VideoContainerBuffer > MayaFlux::IO::IOManager::hook_video_container_to_buffer | ( | const std::shared_ptr< Kakshya::VideoStreamContainer > & | container | ) |
Wire a video container to the graphics buffer system.
Creates a VideoContainerBuffer via BufferManager with GRAPHICS_BACKEND token, stores it keyed by container pointer, and returns it. A VideoFileContainer or a DynamicVideoStream can be wired. A DynamicVideoStream needs frames or an enabled ring before it can be hooked, and gets its seek processor.
| container | Video container to wire. |
Definition at line 1067 of file IOManager.cpp.
References MayaFlux::Journal::API, MayaFlux::Journal::BufferManagement, MayaFlux::IO::Detail::create_video_container_buffer(), m_buffer_manager, m_buffers_mutex, m_video_buffers, MF_ERROR, MF_INFO, and MayaFlux::Journal::Runtime.
Here is the call graph for this function: