Commit 0bc209cc authored by Urs Fleisch's avatar Urs Fleisch
Browse files

revert default extension to ".ogg" instead of ".oga", the latter should be...

revert default extension to ".ogg" instead of ".oga", the latter should be used for Ogg FLAC, see http://wiki.xiph.org/index.php/MIME-Migration.
parent c98841a2
......@@ -592,11 +592,11 @@ bool OggFile::hasTagV2() const
/**
* Get file extension including the dot.
*
* @return file extension ".oga".
* @return file extension ".ogg".
*/
QString OggFile::getFileExtension() const
{
return ".oga";
return ".ogg";
}
#ifdef HAVE_VORBIS
......
......@@ -250,7 +250,7 @@ public:
/**
* Get file extension including the dot.
*
* @return file extension ".oga".
* @return file extension ".ogg".
*/
virtual QString getFileExtension() const;
......
......@@ -1347,7 +1347,7 @@ QString TagLibFile::getFileExtension() const
if (dynamic_cast<TagLib::MPEG::File*>(file) != 0) {
return ".mp3";
} else if (dynamic_cast<TagLib::Vorbis::File*>(file) != 0) {
return ".oga";
return ".ogg";
} else if (dynamic_cast<TagLib::FLAC::File*>(file) != 0) {
return ".flac";
} else if (dynamic_cast<TagLib::MPC::File*>(file) != 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment