mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
add y4m to valid file types
This commit is contained in:
parent
6dc82db96c
commit
5ee1f0990f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ use std::{io::prelude::*, path::PathBuf};
|
|||
fn match_file_type(input: PathBuf) -> bool {
|
||||
let extension = input.as_path().extension().unwrap().to_str().unwrap();
|
||||
|
||||
if ["mkv", "mp4", "mov", "avi", "flv", "m2ts"]
|
||||
if ["mkv", "mp4", "mov", "avi", "flv", "m2ts", "y4m"]
|
||||
.iter()
|
||||
.any(|&v| input.extension().map_or(false, |u| v == u))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue