[vlmc-devel] commit: TrackWorkflow: Save clips in a specific node to avoid conflicts with effects ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Fri Sep 17 00:38:53 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Sep 17 00:26:59 2010 +0200| [9f95cde014b90d1e3f5a9b2a111c7a7da35f4544] | committer: Hugo Beauzée-Luyssen 

TrackWorkflow: Save clips in a specific node to avoid conflicts with effects

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

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

diff --git a/src/Workflow/TrackWorkflow.cpp b/src/Workflow/TrackWorkflow.cpp
index 6d64298..0130784 100644
--- a/src/Workflow/TrackWorkflow.cpp
+++ b/src/Workflow/TrackWorkflow.cpp
@@ -453,6 +453,7 @@ void    TrackWorkflow::save( QXmlStreamWriter& project ) const
     QMap<qint64, ClipWorkflow*>::const_iterator     it = m_clips.begin();
     QMap<qint64, ClipWorkflow*>::const_iterator     end = m_clips.end();
 
+    project.writeStartElement( "clips" );
     for ( ; it != end ; ++it )
     {
         project.writeStartElement( "clip" );
@@ -460,6 +461,7 @@ void    TrackWorkflow::save( QXmlStreamWriter& project ) const
         it.value()->save( project );
         project.writeEndElement();
     }
+    project.writeEndElement();
 }
 
 void    TrackWorkflow::clear()



More information about the Vlmc-devel mailing list