pub enum VideoPresentDecision {
PresentNewFrame(DecodedVideoFrame),
HoldCurrentFrame,
Buffering,
Ended,
}Expand description
Per-VSync frame presentation decision produced by AvSyncScheduler.
Variants§
PresentNewFrame(DecodedVideoFrame)
A new frame is due at the active playback clock and should replace the displayed texture.
HoldCurrentFrame
Display refresh cadence is faster than video frame rate; hold the current frame without forging pixels.
Buffering
Pipeline is waiting for the background decoder to fill the PTS queue.
Ended
Timeline reached end-of-stream and all queued frames have been presented.
Trait Implementations§
Source§impl Clone for VideoPresentDecision
impl Clone for VideoPresentDecision
Source§impl Debug for VideoPresentDecision
impl Debug for VideoPresentDecision
Source§impl PartialEq for VideoPresentDecision
impl PartialEq for VideoPresentDecision
impl StructuralPartialEq for VideoPresentDecision
Auto Trait Implementations§
impl Forget for VideoPresentDecision
impl Freeze for VideoPresentDecision
impl Move for VideoPresentDecision
impl RefUnwindSafe for VideoPresentDecision
impl Send for VideoPresentDecisionwhere
RawVecInner: Send,
impl Sync for VideoPresentDecisionwhere
RawVecInner: Sync,
impl Unpin for VideoPresentDecision
impl UnsafeUnpin for VideoPresentDecision
impl UnwindSafe for VideoPresentDecisionwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more