pub struct TrackTimebaseInvalid { /* private fields */ }Expand description
Payload for DemuxError::TrackTimebaseInvalid.
A stream declares an AVRational timebase that is not a
Timebase: a zero or negative denominator, or a negative
numerator.
Refused rather than repaired. The value is what every timestamp
on that track would be measured against, and there is no honest
substitute — a ruler invented here is indistinguishable downstream
from one the file declared. 0/1, libavformat’s own “not set yet”
default, is not this error: see
TrackInfo::timebase.
Implementations§
Trait Implementations§
Source§impl Clone for TrackTimebaseInvalid
impl Clone for TrackTimebaseInvalid
Source§fn clone(&self) -> TrackTimebaseInvalid
fn clone(&self) -> TrackTimebaseInvalid
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrackTimebaseInvalid
Source§impl Debug for TrackTimebaseInvalid
impl Debug for TrackTimebaseInvalid
Source§impl Display for TrackTimebaseInvalid
impl Display for TrackTimebaseInvalid
impl Eq for TrackTimebaseInvalid
Source§impl Error for TrackTimebaseInvalid
impl Error for TrackTimebaseInvalid
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<TrackTimebaseInvalid> for DemuxError
impl From<TrackTimebaseInvalid> for DemuxError
Source§fn from(source: TrackTimebaseInvalid) -> Self
fn from(source: TrackTimebaseInvalid) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TrackTimebaseInvalid
impl PartialEq for TrackTimebaseInvalid
impl StructuralPartialEq for TrackTimebaseInvalid
Auto Trait Implementations§
impl Freeze for TrackTimebaseInvalid
impl RefUnwindSafe for TrackTimebaseInvalid
impl Send for TrackTimebaseInvalid
impl Sync for TrackTimebaseInvalid
impl Unpin for TrackTimebaseInvalid
impl UnsafeUnpin for TrackTimebaseInvalid
impl UnwindSafe for TrackTimebaseInvalid
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