[vlmc-devel] commit: Use the clip's full id when saving the timeline ( Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Sat Mar 13 14:07:46 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Sat Mar 13 13:48:35 2010 +0100| [3e125b609da60854c3c36f88a40e4842df9085e6] | committer: Hugo Beauzee-Luyssen 

Use the clip's full id when saving the timeline

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

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

diff --git a/src/Workflow/TrackWorkflow.cpp b/src/Workflow/TrackWorkflow.cpp
index 9775bd5..f987b80 100644
--- a/src/Workflow/TrackWorkflow.cpp
+++ b/src/Workflow/TrackWorkflow.cpp
@@ -398,7 +398,7 @@ void    TrackWorkflow::save( QXmlStreamWriter& project ) const
     for ( ; it != end ; ++it )
     {
         project.writeStartElement( "clip" );
-        project.writeAttribute( "uuid", it.value()->getClip()->getParent()->uuid().toString() );
+        project.writeAttribute( "uuid", it.value()->getClip()->getParent()->fullId() );
         project.writeAttribute( "startFrame", QString::number( it.key() ) );
         project.writeAttribute( "begin", QString::number( it.value()->getClip()->begin() ) );
         project.writeAttribute( "end", QString::number( it.value()->getClip()->end() ) );



More information about the Vlmc-devel mailing list