further progress on export dialog

Implemented setting up and running the export thread with valid parameters,
transformation matrix and color processor.
This commit is contained in:
itsmattkc
2019-12-20 04:39:11 +11:00
parent 38d35d1b88
commit 1b844fb760
2 changed files with 67 additions and 7 deletions
+10
View File
@@ -4,6 +4,7 @@
#include <QComboBox>
#include <QDialog>
#include <QLineEdit>
#include <QProgressBar>
#include "exportaudiotab.h"
#include "exportcodec.h"
@@ -17,6 +18,9 @@ class ExportDialog : public QDialog
public:
ExportDialog(ViewerOutput* viewer_node, QWidget* parent = nullptr);
public slots:
virtual void accept() override;
private:
void SetUpFormats();
void LoadPresets();
@@ -40,6 +44,10 @@ private:
double video_aspect_ratio_;
ColorManager* color_manager_;
QProgressBar* progress_bar_;
enum Format {
kFormatDNxHD,
kFormatMatroska,
@@ -80,6 +88,8 @@ private slots:
void UpdateViewerDimensions();
void ExporterIsDone();
};
#endif // EXPORTDIALOG_H