13
0

amend list of known video file extensions.

This commit is contained in:
Robin Gareus 2014-08-16 13:18:44 +02:00
parent 90a592cd9c
commit ffd5c24fa5

View File

@ -258,7 +258,8 @@ static bool check_video_file_extension(std::string file)
".ogg" , ".OGG" , ".ogg" , ".OGG" ,
".ogv" , ".OGV" , ".ogv" , ".OGV" ,
".mpg" , ".MPG" , ".mpg" , ".MPG" ,
".mov" , ".MOV" , ".mpeg" , ".MPEG" ,
".mts" , ".MTS" ,
".mp4" , ".MP4" , ".mp4" , ".MP4" ,
".mkv" , ".MKV" , ".mkv" , ".MKV" ,
".vob" , ".VOB" , ".vob" , ".VOB" ,
@ -272,6 +273,8 @@ static bool check_video_file_extension(std::string file)
".dv" , ".DV" , ".dv" , ".DV" ,
".dirac" , ".DIRAC" , ".dirac" , ".DIRAC" ,
".webm" , ".WEBM" , ".webm" , ".WEBM" ,
".wmv" , ".wmv" ,
".ts" , ".ts" ,
}; };
for (size_t n = 0; n < sizeof(suffixes)/sizeof(suffixes[0]); ++n) { for (size_t n = 0; n < sizeof(suffixes)/sizeof(suffixes[0]); ++n) {