From 08df3bb20d11acfa3e01d8ff1c5f8e3dd0dba3d6 Mon Sep 17 00:00:00 2001 From: Giang Minh Date: Wed, 29 Nov 2023 16:59:24 +0700 Subject: [PATCH] fix: is_video func missing h265 --- src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.