diff --git a/rendering/renderfunctions.cpp b/rendering/renderfunctions.cpp index 2d2d0b1e7..235dc881c 100644 --- a/rendering/renderfunctions.cpp +++ b/rendering/renderfunctions.cpp @@ -565,6 +565,8 @@ GLuint compose_sequence(ComposeSequenceParams ¶ms) { } + qDebug() << "Input colorspace:" << input_cs; + try { OCIO::ConstProcessorRcPtr processor = config->getProcessor(input_cs.toUtf8(), OCIO::ROLE_SCENE_LINEAR); diff --git a/timeline/clip.cpp b/timeline/clip.cpp index 99b2612e6..cc9ba2ec7 100644 --- a/timeline/clip.cpp +++ b/timeline/clip.cpp @@ -498,8 +498,10 @@ void Clip::Close(bool wait) { } // destroy opengl texture in main thread - QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &texture); - texture = 0; + if (texture > 0) { + QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &texture); + texture = 0; + } // close all effects for (int i=0;i