]> git.sesse.net Git - kdenlive/commitdiff
bugfix setting the window background color - QRgb is not byte-order compatible with...
authorDan Dennedy <dan@dennedy.org>
Mon, 23 Feb 2009 20:11:28 +0000 (20:11 +0000)
committerDan Dennedy <dan@dennedy.org>
Mon, 23 Feb 2009 20:11:28 +0000 (20:11 +0000)
svn path=/branches/KDE4/; revision=3070

src/renderer.cpp

index 5ecd2df16d5e652cca7daddecbda2ce5529198c1..c0fc881dbfaaeb93e4a0e75a2808f6f7179dea04 100644 (file)
@@ -114,7 +114,7 @@ void Render::buildConsumer() {
     m_mltConsumer->set("resize", 1);
     m_mltConsumer->set("window_id", m_winid);
     m_mltConsumer->set("terminate_on_pause", 1);
-    m_mltConsumer->set("window_background", (int) KdenliveSettings::window_background().rgb());
+    m_mltConsumer->set("window_background", decodedString(KdenliveSettings::window_background().name()));
 
     m_mltConsumer->listen("consumer-frame-show", this, (mlt_listener) consumer_frame_show);
     m_mltConsumer->set("rescale", "nearest");