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 committed Nov 29, 2023
1 parent a319da9 commit 08df3bb
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 08df3bb

Please sign in to comment.