forward port ffd5c24 from master (extend video file ext list)
authorRobin Gareus <robin@gareus.org>
Wed, 15 Oct 2014 23:15:45 +0000 (01:15 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 15 Oct 2014 23:16:07 +0000 (01:16 +0200)
gtk2_ardour/add_video_dialog.cc

index b8ede24ae3590b04d4a709a23c4c8a06e79c7e8c..abbb3a0f46284153b4b3e0a0bde8daa20069e4c0 100644 (file)
@@ -269,6 +269,8 @@ static bool check_video_file_extension(std::string file)
                ".ogg"     , ".OGG"     ,
                ".ogv"     , ".OGV"     ,
                ".mpg"     , ".MPG"     ,
+               ".mpeg"    , ".MPEG"    ,
+               ".mts"     , ".MTS"     ,
                ".mov"     , ".MOV"     ,
                ".mp4"     , ".MP4"     ,
                ".mkv"     , ".MKV"     ,
@@ -283,6 +285,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) {