1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-31 11:35:50 +02:00

Reimplement export plugin registation without sequence numbers

This commit is contained in:
Paul Licameli
2020-02-01 07:00:03 -05:00
parent b1b8b034c8
commit 5165353dbe
9 changed files with 74 additions and 41 deletions

View File

@@ -152,8 +152,6 @@ 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
@@ -1141,8 +1139,9 @@ void ExportFFmpeg::OptionsCreate(ShuttleGui &S, int format)
ExportPlugin::OptionsCreate(S, format);
}
static Exporter::RegisteredExportPlugin
sRegisteredPlugin{ []{ return std::make_unique< ExportFFmpeg >(); } };
static Exporter::RegisteredExportPlugin sRegisteredPlugin{ "FFmpeg",
[]{ return std::make_unique< ExportFFmpeg >(); }
};
#endif