pub enum VideoSynchronizerError {
InvalidTimeBase {
numerator: i32,
denominator: i32,
},
UnsupportedBuffer(&'static str),
MissingPts,
}Expand description
Input this element cannot schedule.
Scheduling needs a decoded video frame with a PTS and a usable time base; anything else is rejected rather than passed through unscheduled.
Variants§
InvalidTimeBase
The supplied input timestamp unit has a non-positive component.
UnsupportedBuffer(&'static str)
The sink received a buffer other than decoded video or end-of-stream.
MissingPts
A decoded video frame has no presentation timestamp to schedule.
Trait Implementations§
Source§impl Debug for VideoSynchronizerError
impl Debug for VideoSynchronizerError
Source§impl Display for VideoSynchronizerError
impl Display for VideoSynchronizerError
Source§impl Error for VideoSynchronizerError
impl Error for VideoSynchronizerError
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<VideoSynchronizerError> for Error
impl From<VideoSynchronizerError> for Error
Source§fn from(source: VideoSynchronizerError) -> Self
fn from(source: VideoSynchronizerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VideoSynchronizerError
impl RefUnwindSafe for VideoSynchronizerError
impl Send for VideoSynchronizerError
impl Sync for VideoSynchronizerError
impl Unpin for VideoSynchronizerError
impl UnsafeUnpin for VideoSynchronizerError
impl UnwindSafe for VideoSynchronizerError
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