various: removed hardcoded OCIO::ROLE_SCENE_LINEAR to allow for a configurable reference space

This commit is contained in:
itsmattkc
2020-04-03 01:30:47 +11:00
parent 552163320c
commit e1ca5f2f82
6 changed files with 25 additions and 6 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ void OpenGLProxy::FrameToValue(DecoderPtr decoder, StreamPtr stream, const TimeR
if (!color_processor) {
color_processor = OpenGLColorProcessor::Create(video_stream->footage()->project()->color_manager()->GetConfig(),
video_stream->colorspace(),
OCIO::ROLE_SCENE_LINEAR);
video_stream->colorspace(),
video_stream->footage()->project()->color_manager()->GetReferenceColorSpace());
color_cache_.Add(colorspace_match, color_processor);
}