1
0
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:
Paul Licameli
2019-07-29 15:43:41 -04:00
parent 5459a7bf27
commit bbaceba347
22 changed files with 89 additions and 289 deletions

View File

@@ -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