1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Bug 2523 - Audacity may suggest installing FFmpeg even when FFmpeg is installed

This commit is contained in:
Leland Lucius
2021-01-27 01:19:59 -06:00
parent 20fb3b24bf
commit aa89805fd2

View File

@@ -49,6 +49,7 @@ ImportLOF.cpp, and ImportAUP.cpp.
#include <wx/listbox.h>
#include <wx/log.h>
#include <wx/sizer.h> //for wxBoxSizer
#include "../FFmpeg.h"
#include "../FileNames.h"
#include "../ShuttleGui.h"
#include "../Project.h"
@@ -792,8 +793,11 @@ bool Importer::Import( AudacityProject &project,
// we were not able to recognize the file type
errorMessage = XO(
/* i18n-hint: %s will be the filename */
"Audacity did not recognize the type of the file '%s'.\nTry installing FFmpeg. For uncompressed files, also try File > Import > Raw Data.")
.Format( fName );
"Audacity did not recognize the type of the file '%s'.\n\n%sFor uncompressed files, also try File > Import > Raw Data.")
.Format( fName,
!FFmpegLibsInst()
? XO("Try installing FFmpeg.\n\n")
: XO("") );
}
else
{