began work on headless export path

This commit is contained in:
itsmattkc
2020-04-20 02:37:10 +10:00
parent 1474a505ee
commit 1c3c8cd9b2
20 changed files with 695 additions and 199 deletions
+4 -3
View File
@@ -26,6 +26,7 @@
#include <QLabel>
#include "core.h"
#include "render/backend/exportparams.h"
#include "render/colormanager.h"
OLIVE_NAMESPACE_ENTER
@@ -150,9 +151,9 @@ QWidget* ExportVideoTab::SetupResolutionSection()
scaling_method_combobox_ = new QComboBox();
scaling_method_combobox_->setEnabled(false);
scaling_method_combobox_->addItem(tr("Fit"), kFit);
scaling_method_combobox_->addItem(tr("Stretch"), kStretch);
scaling_method_combobox_->addItem(tr("Crop"), kCrop);
scaling_method_combobox_->addItem(tr("Fit"), ExportParams::kFit);
scaling_method_combobox_->addItem(tr("Stretch"), ExportParams::kStretch);
scaling_method_combobox_->addItem(tr("Crop"), ExportParams::kCrop);
layout->addWidget(scaling_method_combobox_, row, 1);
// Automatically enable/disable the scaling method depending on maintain aspect ratio