mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Follow up to bug #1112
The custom FFmpeg options should check for a valid FFmpeg environment also.
This commit is contained in:
parent
e5ce636234
commit
a35669a562
@ -453,6 +453,19 @@ bool ExportFFmpegCustomOptions::TransferDataFromWindow()
|
||||
///
|
||||
void ExportFFmpegCustomOptions::OnOpen(wxCommandEvent & WXUNUSED(evt))
|
||||
{
|
||||
// Show "Locate FFmpeg" dialog
|
||||
PickFFmpegLibs();
|
||||
if (!FFmpegLibsInst->ValidLibsLoaded())
|
||||
{
|
||||
FFmpegLibsInst->FindLibs(NULL);
|
||||
FFmpegLibsInst->FreeLibs();
|
||||
if (!LoadFFmpeg(true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
DropFFmpegLibs();
|
||||
|
||||
ExportFFmpegOptions od(wxGetTopLevelParent(this));
|
||||
od.ShowModal();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user