MayaFlux 0.5.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 60 of file VideoContainerBuffer.cpp.

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

References m_container.