mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-29 01:25:53 +01:00
Register export plugins, breaking cycles...
... as we did last relase for import; making several header files unnecessary. This breaks up a strongly connected component of 9, which was the largest remaining. Now the largest remaining is 5.
This commit is contained in:
@@ -20,7 +20,6 @@ function.
|
||||
|
||||
|
||||
#include "../Audacity.h" // keep ffmpeg before wx because they interact // for USE_* macros
|
||||
#include "ExportFFmpeg.h"
|
||||
|
||||
#include "../FFmpeg.h" // and Audacity.h before FFmpeg for config*.h
|
||||
|
||||
@@ -151,6 +150,8 @@ public:
|
||||
const Tags *metadata = NULL,
|
||||
int subformat = 0) override;
|
||||
|
||||
virtual unsigned SequenceNumber() const override { return 70; }
|
||||
|
||||
private:
|
||||
|
||||
AVOutputFormat * mEncFormatDesc{}; // describes our output file to libavformat
|
||||
@@ -1095,10 +1096,8 @@ wxWindow *ExportFFmpeg::OptionsCreate(wxWindow *parent, int format)
|
||||
return ExportPlugin::OptionsCreate(parent, format);
|
||||
}
|
||||
|
||||
std::unique_ptr<ExportPlugin> New_ExportFFmpeg()
|
||||
{
|
||||
return std::make_unique<ExportFFmpeg>();
|
||||
}
|
||||
static Exporter::RegisteredExportPlugin
|
||||
sRegisteredPlugin{ []{ return std::make_unique< ExportFFmpeg >(); } };
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user