Merge pull request #418 from Fierthraix/master

Add support for Apple's M4V format
This commit is contained in:
Benjamin Sago 2018-10-04 12:28:24 +01:00 committed by GitHub
commit b5b16eabe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ impl FileExtensions {
fn is_video(&self, file: &File) -> bool { fn is_video(&self, file: &File) -> bool {
file.extension_is_one_of( &[ file.extension_is_one_of( &[
"avi", "flv", "m2v", "mkv", "mov", "mp4", "mpeg", "avi", "flv", "m2v", "m4v", "mkv", "mov", "mp4", "mpeg",
"mpg", "ogm", "ogv", "vob", "wmv", "webm", "m2ts", "mpg", "ogm", "ogv", "vob", "wmv", "webm", "m2ts",
]) ])
} }