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

◆ create_default_processor()

void MayaFlux::Kakshya::DynamicVideoStream::create_default_processor ( )
overridevirtual

Install a FrameSeekProcessor as the default processor.

It reads like FrameAccessProcessor until a time map is set on it. Its clock runs at the stream's frame rate, which should be the rate frames are appended at.

Implements MayaFlux::Kakshya::SignalSourceContainer.

Definition at line 185 of file DynamicVideoStream.cpp.

186{
187 auto processor = std::make_shared<FrameSeekProcessor>();
188 if (get_frame_rate() > 0.0) {
189 processor->set_global_fps(get_frame_rate());
190 }
191 set_default_processor(processor);
192}
void set_default_processor(const std::shared_ptr< DataProcessor > &processor) override
Set the default data processor for this container.

References MayaFlux::Kakshya::VideoStreamContainer::get_frame_rate(), and MayaFlux::Kakshya::VideoStreamContainer::set_default_processor().

Referenced by seek_processor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: