From: Jean-Baptiste Mardelle Date: Sat, 1 Sep 2012 19:46:47 +0000 (+0200) Subject: Adding m2v and ac3 as supported mimetypes: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8de645e2f5dda3cbdcca1d74841b5853cc1ecd4e;p=kdenlive Adding m2v and ac3 as supported mimetypes: http://kdenlive.org/mantis/view.php?id=2673 --- diff --git a/src/projectlist.cpp b/src/projectlist.cpp index 962f65ab..7f36c74d 100644 --- a/src/projectlist.cpp +++ b/src/projectlist.cpp @@ -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"; diff --git a/src/wizard.cpp b/src/wizard.cpp index a0a0c71f..9b451084 100644 --- a/src/wizard.cpp +++ b/src/wizard.cpp @@ -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";