pub struct CorruptPacket {
pub stage: &'static str,
pub pts: Option<i64>,
pub time_base: (i32, i32),
}Expand description
One observed corruption. Timestamps use the selected stream’s time base.
Fields§
§stage: &'static strPipeline stage reporting damage (may be a frame or demux error).
pts: Option<i64>Best available timestamp, absent when FFmpeg cannot identify it.
time_base: (i32, i32)Numerator and denominator of the timestamp time base.
Trait Implementations§
Source§impl Clone for CorruptPacket
impl Clone for CorruptPacket
Source§impl Debug for CorruptPacket
impl Debug for CorruptPacket
impl Eq for CorruptPacket
Source§impl PartialEq for CorruptPacket
impl PartialEq for CorruptPacket
impl StructuralPartialEq for CorruptPacket
Auto Trait Implementations§
impl Freeze for CorruptPacket
impl RefUnwindSafe for CorruptPacket
impl Send for CorruptPacket
impl Sync for CorruptPacket
impl Unpin for CorruptPacket
impl UnsafeUnpin for CorruptPacket
impl UnwindSafe for CorruptPacket
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.