finished prototype for float pix fmt converter

This commit is contained in:
itsmattkc
2019-05-30 21:50:18 +10:00
parent c8fe9c9fc7
commit 707ad3c264
28 changed files with 671 additions and 300 deletions
+6
View File
@@ -114,6 +114,12 @@ void NewSequenceDialog::accept() {
// FIXME: TEST CODE
NodeMedia* m = new NodeMedia(s.get());
s->texture_io = m->texture_output();
QStringList strings = {"E:/samples/P1270472.MP4"};
olive::project_model.process_file_list(strings);
Footage* fff = olive::project_model.GetLastImportedMedia().first()->to_footage();
fff->ready_lock.lock();
m->SetMedia(&fff->video_tracks.first());
// END TEST CODE
ComboAction* ca = new ComboAction();
+2 -2
View File
@@ -449,8 +449,8 @@ void PreferencesDialog::accept() {
olive::config.ocio_config_path = ocio_config_file->text();
}
olive::config.enable_color_management = enable_color_management->isChecked();
olive::config.playback_bit_depth = playback_bit_depth->currentIndex();
olive::config.export_bit_depth = export_bit_depth->currentIndex();
olive::config.playback_bit_depth = static_cast<olive::PixelFormat>(playback_bit_depth->currentIndex());
olive::config.export_bit_depth = static_cast<olive::PixelFormat>(export_bit_depth->currentIndex());
olive::config.ocio_display = ocio_display->currentText();
olive::config.ocio_default_input_colorspace = ocio_default_input->currentText();
olive::config.ocio_view = ocio_view->currentText();