]> git.sesse.net Git - kdenlive/commitdiff
Fix R/B channels swapped in color scopes.
authorTill Theato <root@ttill.de>
Fri, 9 Mar 2012 11:16:51 +0000 (12:16 +0100)
committerTill Theato <root@ttill.de>
Fri, 9 Mar 2012 11:16:51 +0000 (12:16 +0100)
src/renderer.cpp

index 85b08d345e4e04696ccf46451b5f2767dfe6f1cd..0593bc50a845b2d02447f04a2fbeef54c9b208eb 100644 (file)
@@ -1593,7 +1593,7 @@ void Render::emitFrameUpdated(Mlt::Frame& frame)
     const uchar* image = frame.get_image(format, width, height);
     QImage qimage(width, height, QImage::Format_RGB888);
     memcpy(qimage.bits(), image, width * height * 3);*/
-    emit frameUpdated(qimage);
+    emit frameUpdated(qimage.rgbSwapped());
 }
 
 void Render::emitFrameNumber()