Skip to content

Commit

Permalink
fix: is_video func missing h265
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm authored Nov 29, 2023
2 parents a319da9 + 08df3bb commit 1d0b4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1d0b4d8

Please sign in to comment.