[vlmc-devel] commit: VideoClipWorkflow: This time, it really does save the effects. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Wed Jul 28 00:29:01 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Jul 28 00:29:11 2010 +0200| [8f1cedc46967e9308311e22e53c3b8c97903ba60] | committer: Hugo Beauzée-Luyssen 

VideoClipWorkflow: This time, it really does save the effects.

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

 src/Workflow/ClipWorkflow.cpp      |    1 +
 src/Workflow/VideoClipWorkflow.cpp |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/Workflow/ClipWorkflow.cpp b/src/Workflow/ClipWorkflow.cpp
index c93c8c0..6c973c9 100644
--- a/src/Workflow/ClipWorkflow.cpp
+++ b/src/Workflow/ClipWorkflow.cpp
@@ -323,4 +323,5 @@ ClipWorkflow::save( QXmlStreamWriter &project ) const
     project.writeAttribute( "begin", QString::number( m_clipHelper->begin() ) );
     project.writeAttribute( "end", QString::number( m_clipHelper->end() ) );
     project.writeAttribute( "helper", m_clipHelper->uuid().toString() );
+    saveEffects( project );
 }
diff --git a/src/Workflow/VideoClipWorkflow.cpp b/src/Workflow/VideoClipWorkflow.cpp
index 45b3095..437aabd 100644
--- a/src/Workflow/VideoClipWorkflow.cpp
+++ b/src/Workflow/VideoClipWorkflow.cpp
@@ -39,8 +39,6 @@ VideoClipWorkflow::VideoClipWorkflow( ClipHelper *ch ) :
 {
     m_effectsLock = new QReadWriteLock();
     m_renderedFrameMutex = new QMutex();
-    Effect  *effect = EffectsEngine::getInstance()->effect("bw0r");
-    appendEffect( effect, 0, 200 );
 }
 
 VideoClipWorkflow::~VideoClipWorkflow()



More information about the Vlmc-devel mailing list