From 15e01c9452fb93c5924443e6a5029c1522840344 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 20 Dec 2019 04:41:26 +1100 Subject: [PATCH] update export dialog to use higher quality parameters Since the backend parameters were hardcoded not too long ago, for testing the parameters had to equal the backend parameters. Now that they are not hardcoded we can use higher quality parameters in export contexts. --- app/dialog/export/export.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/dialog/export/export.cpp b/app/dialog/export/export.cpp index 18d8da4ee..586995152 100644 --- a/app/dialog/export/export.cpp +++ b/app/dialog/export/export.cpp @@ -179,8 +179,7 @@ void ExportDialog::accept() dest_height); // FIXME: Hardcoded pixel format - //VideoRenderingParams video_render_params(dest_width, dest_height, 0, olive::PIX_FMT_RGBA32F, olive::kOnline); - VideoRenderingParams video_render_params(dest_width, dest_height, 0, olive::PIX_FMT_RGBA16F, olive::kOffline, 2); + VideoRenderingParams video_render_params(dest_width, dest_height, rational(), olive::PIX_FMT_RGBA32F, olive::kOnline); ColorProcessorPtr color_processor = ColorProcessor::Create(color_manager_->GetConfig(), OCIO::ROLE_SCENE_LINEAR,