Enum av_metrics::MetricsError [−][src]
pub enum MetricsError {
MalformedInput { /* fields omitted */ },
UnsupportedInput { /* fields omitted */ },
InputMismatch { /* fields omitted */ },
VideoError { /* fields omitted */ },
SendError { /* fields omitted */ },
ProcessError { /* fields omitted */ },
// some variants omitted
}
Expand description
Possible errors that may occur during processing of a metric.
This enum may be added to in the future and should not be assumed to be exhaustive.
Variants
Indicates an input file could not be read for some reason.
Fields of MalformedInput
Indicates an input file could be read, but is not supported by the current metric.
Fields of UnsupportedInput
Indicates two inputs did not have matching formats or resolutions.
Fields of InputMismatch
Indicates the impossibility to process the two videos.
Fields of VideoError
Indicates the impossibility to send two frames in order to be processed.
Fields of SendError
Indicates the impossibility to process two frames.