export: show main color spaces rather than DVL chain

This commit is contained in:
itsmattkc
2020-04-22 23:34:23 +10:00
parent 361a986b79
commit 197e60b6c3
6 changed files with 99 additions and 74 deletions
+4 -14
View File
@@ -80,19 +80,9 @@ void ExportVideoTab::set_frame_rate(const rational &frame_rate)
frame_rate_combobox_->setCurrentIndex(frame_rates_.indexOf(frame_rate));
}
QString ExportVideoTab::CurrentOCIODisplay()
QString ExportVideoTab::CurrentOCIOColorSpace()
{
return color_space_chooser_->display();
}
QString ExportVideoTab::CurrentOCIOView()
{
return color_space_chooser_->view();
}
QString ExportVideoTab::CurrentOCIOLook()
{
return color_space_chooser_->look();
return color_space_chooser_->input();
}
CodecSection *ExportVideoTab::GetCodecSection() const
@@ -175,8 +165,8 @@ QWidget* ExportVideoTab::SetupResolutionSection()
QWidget* ExportVideoTab::SetupColorSection()
{
color_space_chooser_ = new ColorSpaceChooser(color_manager_, false);
connect(color_space_chooser_, &ColorSpaceChooser::DisplayColorSpaceChanged, this, &ExportVideoTab::DisplayColorSpaceChanged);
color_space_chooser_ = new ColorSpaceChooser(color_manager_, true, false);
connect(color_space_chooser_, &ColorSpaceChooser::InputColorSpaceChanged, this, &ExportVideoTab::ColorSpaceChanged);
return color_space_chooser_;
}