[vlmc-devel] commit: Clip: Don't save unused information when saving the rootclip ( Hugo Beauzee-Luyssen )
git at videolan.org
git at videolan.org
Fri Mar 12 20:06:39 CET 2010
vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Fri Mar 12 15:11:27 2010 +0100| [234fa727e812b5c0e12f7dee50206a3889083872] | committer: Hugo Beauzee-Luyssen
Clip: Don't save unused information when saving the rootclip
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=234fa727e812b5c0e12f7dee50206a3889083872
---
src/Media/Clip.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/Media/Clip.cpp b/src/Media/Clip.cpp
index 427d1ca..7ca722a 100644
--- a/src/Media/Clip.cpp
+++ b/src/Media/Clip.cpp
@@ -305,14 +305,14 @@ Clip::save( QXmlStreamWriter &project )
{
project.writeAttribute( "parent", m_parent->uuid() );
project.writeAttribute( "rootClip", m_rootClip->uuid() );
+ project.writeAttribute( "begin", QString::number( m_begin ) );
+ project.writeAttribute( "end", QString::number( m_end ) );
+ project.writeAttribute( "maxBegin", QString::number( m_maxBegin ) );
+ project.writeAttribute( "maxEnd", QString::number( m_maxEnd ) );
}
project.writeAttribute( "uuid", m_uuid.toString() );
- project.writeAttribute( "begin", QString::number( m_begin ) );
- project.writeAttribute( "end", QString::number( m_end ) );
project.writeAttribute( "metatags", m_metaTags.join( "," ) );
project.writeAttribute( "notes", m_notes );
- project.writeAttribute( "maxBegin", QString::number( m_maxBegin ) );
- project.writeAttribute( "maxEnd", QString::number( m_maxEnd ) );
if ( m_childs->count() > 0 )
{
project.writeStartElement( "subClips" );
More information about the Vlmc-devel
mailing list