mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 19:21:59 +01:00
Follow up to bug #1112
The custom FFmpeg options should check for a valid FFmpeg environment also.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user