diff --git a/src/format.rs b/src/format.rs index 28b078c4..8007b8d6 100644 --- a/src/format.rs +++ b/src/format.rs @@ -842,7 +842,7 @@ impl Codec { /// Tells if codec is video. pub fn is_video(&self) -> bool { use Codec::*; - matches!(self, H264 | Vp8 | Vp9 | Av1) + matches!(self, H265 | H264 | Vp8 | Vp9 | Av1) } /// Audio/Video.