From ffd5c24fa51e32667a48137f905673794841b3e6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 16 Aug 2014 13:18:44 +0200 Subject: [PATCH] amend list of known video file extensions. --- gtk2_ardour/add_video_dialog.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/add_video_dialog.cc b/gtk2_ardour/add_video_dialog.cc index 57938ac3f1..5464c0af2d 100644 --- a/gtk2_ardour/add_video_dialog.cc +++ b/gtk2_ardour/add_video_dialog.cc @@ -258,7 +258,8 @@ static bool check_video_file_extension(std::string file) ".ogg" , ".OGG" , ".ogv" , ".OGV" , ".mpg" , ".MPG" , - ".mov" , ".MOV" , + ".mpeg" , ".MPEG" , + ".mts" , ".MTS" , ".mp4" , ".MP4" , ".mkv" , ".MKV" , ".vob" , ".VOB" , @@ -272,6 +273,8 @@ static bool check_video_file_extension(std::string file) ".dv" , ".DV" , ".dirac" , ".DIRAC" , ".webm" , ".WEBM" , + ".wmv" , ".wmv" , + ".ts" , ".ts" , }; for (size_t n = 0; n < sizeof(suffixes)/sizeof(suffixes[0]); ++n) {