mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 07:59:27 +02:00
Bug 2068 - Mac: misleading error message when importing M4A without FFmpeg installed
This commit is contained in:
parent
0923a5d744
commit
731c056e7e
@ -609,7 +609,7 @@ bool Importer::Import(const FilePath &fName,
|
||||
}
|
||||
//AAC files of various forms (probably not encrypted)
|
||||
if ((extension.IsSameAs(wxT("aac"), false))||(extension.IsSameAs(wxT("m4a"), false))||(extension.IsSameAs(wxT("m4r"), false))||(extension.IsSameAs(wxT("mp4"), false))) {
|
||||
errorMessage.Printf(_("\"%s\" is an Advanced Audio Coding file. \nAudacity cannot open this type of file. \nYou need to convert it to a supported audio format, such as WAV or AIFF."), fName);
|
||||
errorMessage.Printf(_("\"%s\" is an Advanced Audio Coding file.\nWithout the optional FFmpeg library, Audacity cannot open this type of file.\nOtherwise, you need to convert it to a supported audio format, such as WAV or AIFF."), fName);
|
||||
return false;
|
||||
}
|
||||
// encrypted itunes files
|
||||
|
@ -41,10 +41,15 @@ static const auto exts = {
|
||||
void GetQTImportPlugin(ImportPluginList &importPluginList,
|
||||
UnusableImportPluginList &unusableImportPluginList)
|
||||
{
|
||||
unusableImportPluginList.push_back(
|
||||
std::make_unique<UnusableImportPlugin>(DESC,
|
||||
FileExtensions( exts.begin(), exts.end() ) )
|
||||
);
|
||||
// Bug 2068: misleading error message about QuickTime
|
||||
// In 64 bit versions we cannot compile in (obsolete) QuickTime
|
||||
// So don't register the QuickTime extensions, so ensuring we never report
|
||||
// "This version of Audacity was not compiled with QuickTime files support"
|
||||
// When attempting to import MP4 files.
|
||||
// unusableImportPluginList.push_back(
|
||||
// std::make_unique<UnusableImportPlugin>(DESC,
|
||||
// FileExtensions( exts.begin(), exts.end() ) )
|
||||
// );
|
||||
}
|
||||
|
||||
#else /* USE_QUICKTIME */
|
||||
|
Loading…
x
Reference in New Issue
Block a user