sequencedialog: split off the preset code for use elsewhere (particularly the export dialog)

This commit is contained in:
itsmattkc
2020-07-23 20:07:11 +10:00
parent ce486f6b84
commit e570abb556
8 changed files with 495 additions and 243 deletions
-4
View File
@@ -160,8 +160,6 @@ void EncodingParams::SetExportLength(const rational &export_length)
void EncodingParams::Save(QXmlStreamWriter *writer) const
{
writer->writeStartElement(QStringLiteral("encode"));
writer->writeTextElement(QStringLiteral("filename"), filename_);
writer->writeStartElement(QStringLiteral("video"));
@@ -211,8 +209,6 @@ void EncodingParams::Save(QXmlStreamWriter *writer) const
}
writer->writeEndElement(); // audio
writer->writeEndElement(); // encode
}
Encoder* Encoder::CreateFromID(const QString &id, const EncodingParams& params)