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)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 16 Oct 2014 14:37:34 +0000 (10:37 -0400)
gtk2_ardour/add_video_dialog.cc

index 10385a1f29e49360a5689b683a19e318437c308c..a7adc6729fc3f8c407ed7fcf853dcee5ad529537 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) {