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

◆ process_default()

void MayaFlux::Kakshya::CameraContainer::process_default ( )
overridevirtual

Override to fire request_frame after each processor cycle.

VideoStreamContainer::process_default() drives state through PROCESSING → PROCESSED but never calls update_read_position_for_channel, because FrameAccessProcessor::auto_advance is disabled for live input. Without auto_advance there is no call site for update_read_position_for_channel, so IOService::request_frame never fires and CameraReader never pulls a new frame.

This override calls the base implementation then immediately issues request_frame, replacing the position-advance trigger with a direct post-process trigger that is semantically correct for a single-slot live container: every completed process cycle is a demand for the next frame.

Implements MayaFlux::Kakshya::SignalSourceContainer.

Definition at line 59 of file CameraContainer.cpp.

60{
62
65}
Registry::Service::IOService * m_io_service
void process_default() override
Process the container's data using the default processor.
std::function< void(uint64_t reader_id)> request_frame
Request the identified camera reader to pull the next frame.
Definition IOService.hpp:44

References MayaFlux::Kakshya::VideoStreamContainer::m_io_reader_id, m_io_service, MayaFlux::Kakshya::VideoStreamContainer::process_default(), and MayaFlux::Registry::Service::IOService::request_frame.

+ Here is the call graph for this function: