#[non_exhaustive]pub enum FilterGraphOperationError {
Show 13 variants
RequestOldestError(FilterGraphError),
ProcessFramesError(FilterGraphError),
SendFramesError(FilterGraphError),
ChannelLayoutCopyError(FilterGraphError),
BufferSourceAddFrameError(FilterGraphError),
BufferSourceCloseError(FilterGraphError),
BufferReplaceoseError(FilterGraphError),
FrameSideDataCloneError(FilterGraphError),
ParseError(FilterGraphParseError),
InvalidData,
PreConfigQueueOverflow(String, usize, usize),
OversizedSideDataClone(String, usize),
ThreadExited,
}Expand description
Errors from running frames through a configured filtergraph.
Variants carrying a FilterGraphError embed the mapped FFmpeg error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RequestOldestError(FilterGraphError)
Returned when requesting the next frame from the graph fails
(avfilter_graph_request_oldest).
ProcessFramesError(FilterGraphError)
Returned when processing frames through the filtergraph fails.
SendFramesError(FilterGraphError)
Returned when sending frames into the filtergraph fails.
ChannelLayoutCopyError(FilterGraphError)
Returned when copying an audio channel layout while configuring the graph fails.
BufferSourceAddFrameError(FilterGraphError)
Returned when pushing a frame into a graph input fails
(av_buffersrc_add_frame).
BufferSourceCloseError(FilterGraphError)
Returned when closing a graph input at end of stream fails
(av_buffersrc_close).
BufferReplaceoseError(FilterGraphError)
Returned when replacing a frame’s buffer reference fails
(av_buffer_replace).
FrameSideDataCloneError(FilterGraphError)
Returned when cloning frame side data for the graph fails.
ParseError(FilterGraphParseError)
Returned when parsing or configuring the filtergraph description fails.
InvalidData
Returned when a frame entering the graph carries invalid or corrupted data.
PreConfigQueueOverflow(String, usize, usize)
Returned before the graph is configured when one input has buffered frames past the admission limit while another input has not yet delivered its first frame; fields are the input label, the buffered frame count, and the estimated retained memory in bytes.
OversizedSideDataClone(String, usize)
Returned when a frame’s combined side-data metadata is too large to deep-copy into the buffersrc parameters; fields are the input label and the estimated size in bytes.
ThreadExited
Returned when spawning the filtergraph thread fails, so the graph never ran.
Trait Implementations§
Source§impl Debug for FilterGraphOperationError
impl Debug for FilterGraphOperationError
Source§impl Display for FilterGraphOperationError
impl Display for FilterGraphOperationError
Source§impl Error for FilterGraphOperationError
impl Error for FilterGraphOperationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()