[vlmc-devel] commit: WorkflowFileRendererDialog: Fix the render preview. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Mon Oct 11 01:59:30 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Oct 11 01:35:19 2010 +0200| [3813400ef1f5abb8e03d932c7e38dfa50749bd45] | committer: Hugo Beauzée-Luyssen 

WorkflowFileRendererDialog: Fix the render preview.

This hack is not needed anymore, as we changed effects engine.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=3813400ef1f5abb8e03d932c7e38dfa50749bd45
---

 src/Gui/WorkflowFileRendererDialog.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Gui/WorkflowFileRendererDialog.cpp b/src/Gui/WorkflowFileRendererDialog.cpp
index 35e9055..8d6fd7b 100644
--- a/src/Gui/WorkflowFileRendererDialog.cpp
+++ b/src/Gui/WorkflowFileRendererDialog.cpp
@@ -59,7 +59,7 @@ void    WorkflowFileRendererDialog::updatePreview( const uchar* buff )
 {
     m_ui.previewLabel->setPixmap(
             QPixmap::fromImage( QImage( buff, m_width, m_height,
-                                        QImage::Format_RGB888 ).rgbSwapped() ) );
+                                        QImage::Format_RGB32 ) ) );
 }
 
 void    WorkflowFileRendererDialog::frameChanged( qint64 frame )



More information about the Vlmc-devel mailing list