pub enum DecodeEvent {
Frame(DecodedFrame),
Reconfigured(StreamInfo),
}Expand description
What VideoDecoder::decode and VideoDecoder::flush produce, in
order.
Variants§
Frame(DecodedFrame)
A decoded picture, in presentation order.
Reconfigured(StreamInfo)
The stream’s size or format changed, or became known. Frames after
this have the new StreamInfo; frames already returned keep their
memory.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DecodeEvent
impl !UnwindSafe for DecodeEvent
impl Freeze for DecodeEvent
impl Send for DecodeEvent
impl Sync for DecodeEvent
impl Unpin for DecodeEvent
impl UnsafeUnpin for DecodeEvent
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