mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-07 07:12:34 +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))
|
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));
|
ExportFFmpegOptions od(wxGetTopLevelParent(this));
|
||||||
od.ShowModal();
|
od.ShowModal();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user