]> git.sesse.net Git - kdenlive/commitdiff
Adding m2v and ac3 as supported mimetypes:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 1 Sep 2012 19:46:47 +0000 (21:46 +0200)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 1 Sep 2012 19:46:47 +0000 (21:46 +0200)
http://kdenlive.org/mantis/view.php?id=2673

src/projectlist.cpp
src/wizard.cpp

index 962f65ab0e7be12021fdb5ed416d448274515ed6..7f36c74d71d45e19f6bc441877c2a22dc02ea069 100644 (file)
@@ -1606,7 +1606,7 @@ QString ProjectList::getExtensions()
     mimeTypes <<  "video/x-flv" << "application/vnd.rn-realmedia" << "video/x-dv" << "video/dv" << "video/x-msvideo" << "video/x-matroska" << "video/mpeg" << "video/ogg" << "video/x-ms-wmv" << "video/mp4" << "video/quicktime" << "video/webm" << "video/3gpp";
 
     // Audio mimes
-    mimeTypes << "audio/x-flac" << "audio/x-matroska" << "audio/mp4" << "audio/mpeg" << "audio/x-mp3" << "audio/ogg" << "audio/x-wav" << "audio/x-aiff" << "audio/aiff" << "application/ogg" << "application/mxf" << "application/x-shockwave-flash";
+    mimeTypes << "audio/x-flac" << "audio/x-matroska" << "audio/mp4" << "audio/mpeg" << "audio/x-mp3" << "audio/ogg" << "audio/x-wav" << "audio/x-aiff" << "audio/aiff" << "application/ogg" << "application/mxf" << "application/x-shockwave-flash" << "audio/ac3";
 
     // Image mimes
     mimeTypes << "image/gif" << "image/jpeg" << "image/png" << "image/x-tga" << "image/x-bmp" << "image/svg+xml" << "image/tiff" << "image/x-xcf" << "image/x-xcf-gimp" << "image/x-vnd.adobe.photoshop" << "image/x-pcx" << "image/x-exr";
index a0a0c71f082427e05f9cff0cc1ec27eff19ebc78..9b451084be3674ff744aeae5baaf9ffe05789e6a 100644 (file)
@@ -606,7 +606,7 @@ void Wizard::adjustSettings()
 {
     if (m_extra.installmimes->isChecked()) {
         QStringList globs;
-        globs << "*.mts" << "*.m2t" << "*.mod" << "*.ts" << "*.m2ts";
+        globs << "*.mts" << "*.m2t" << "*.mod" << "*.ts" << "*.m2ts" << "*.m2v";
         installExtraMimes("video/mpeg", globs);
         globs.clear();
         globs << "*.dv";