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

◆ on_detach()

void MayaFlux::Buffers::VideoStreamReader::on_detach ( const std::shared_ptr< Buffer > &  buffer)
overridevirtual

Detach the reader from its TextureBuffer.

Unregisters from the container and cleans up state.

Parameters
bufferThe TextureBuffer to detach from.

Reimplemented from MayaFlux::Buffers::BufferProcessor.

Definition at line 59 of file VideoContainerBuffer.cpp.

60{
61 if (m_container) {
62 m_container->unregister_dimension_reader(0);
63 m_container->unregister_state_change_callback();
64 }
65}
std::shared_ptr< Kakshya::StreamContainer > m_container

References m_container.