Rename decoder error to be more pipe side specific
This commit is contained in:
parent
cd94b24b7b
commit
d8e9d34a64
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ impl fmt::Display for DemuxerError {
|
|||
|
||||
pub enum DecoderError {
|
||||
CodecNotImplemented,
|
||||
InvalidPipeInit,
|
||||
BrokenInPipe,
|
||||
}
|
||||
|
||||
impl Error for DecoderError {}
|
||||
|
@ -140,7 +140,7 @@ impl fmt::Debug for DecoderError {
|
|||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match self {
|
||||
DecoderError::CodecNotImplemented => write!(f, "Codec not recognized"),
|
||||
DecoderError::InvalidPipeInit => write!(f, "Decoder has invalid piping"),
|
||||
DecoderError::BrokenInPipe => write!(f, "Decoder has invalid piping"),
|
||||
_ => write!(f, "Error not described yet")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue