renderer: mutex colorspace and premultiplied fields of video footage

This commit is contained in:
itsmattkc
2020-11-27 12:49:40 +11:00
parent 8a869d0393
commit d02a1aa41b
5 changed files with 17 additions and 13 deletions
-2
View File
@@ -339,8 +339,6 @@ QVariant RenderProcessor::ProcessVideoFootage(StreamPtr stream, const rational &
managed_params.set_format(video_params.format());
value = render_ctx_->CreateTexture(managed_params);
//qDebug() << "FIXME: Accessing video_stream->colorspace() and video_stream->premultiplied_alpha() may cause race conditions";
ColorProcessorPtr processor = ColorProcessor::Create(color_manager,
video_stream->colorspace(),
color_manager->GetReferenceColorSpace());