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

◆ get_graphics_stream()

std::shared_ptr< Kakshya::DynamicVideoStream > MayaFlux::Kriya::BufferPipeline::get_graphics_stream ( ) const
inline

The dynamic video stream of the first operation that writes one.

An operation chained with >> is moved into the pipeline, so this is how to reach the stream that capture_to_stream created, for example to set up playback with lag_behind_head. Null if no operation has a stream.

Definition at line 448 of file BufferPipeline.hpp.

449 {
450 for (const auto& op : m_operations) {
451 if (auto stream = op.get_graphics_stream()) {
452 return stream;
453 }
454 }
455 return nullptr;
456 }
Core::GlobalStreamInfo stream
Definition Config.cpp:40
std::vector< BufferOperation > m_operations

References stream.