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

◆ set_refill_threshold()

void MayaFlux::Kakshya::VideoStreamContainer::set_refill_threshold ( uint32_t  threshold)
inline

Set the number of frames below which the refill callback fires.

Called by the reader before or immediately after setup_ring().

Parameters
thresholdFrames of look-ahead below which notification fires.

Definition at line 166 of file VideoStreamContainer.hpp.

167 {
168 m_refill_threshold = threshold;
169 }
uint32_t m_refill_threshold
Trigger refill when (m_cache_head - read_position) drops below this.