[vlmc-devel] commit: Clip: Don't save useless values. (Hugo Beauzee-Luyssen )
git at videolan.org
git at videolan.org
Fri Mar 12 20:08:47 CET 2010
vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Fri Mar 12 20:08:07 2010 +0100| [c9796ab41e2fd90fc7ea0e827557aa5b1c0197e8] | committer: Hugo Beauzee-Luyssen
Clip: Don't save useless values.
This also fix a potential bug when using max end
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=c9796ab41e2fd90fc7ea0e827557aa5b1c0197e8
---
src/Media/Clip.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/Media/Clip.cpp b/src/Media/Clip.cpp
index f06a279..c00c4b1 100644
--- a/src/Media/Clip.cpp
+++ b/src/Media/Clip.cpp
@@ -39,6 +39,7 @@ Clip::Clip( Media *media, qint64 begin /*= 0*/, qint64 end /*= -1*/, const QStri
m_begin( begin ),
m_end( end ),
m_maxBegin( begin ),
+ m_maxEnd( end ),
m_parent( media->baseClip() )
{
if ( end == -1 )
@@ -307,8 +308,6 @@ Clip::save( QXmlStreamWriter &project )
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( "metatags", m_metaTags.join( "," ) );
More information about the Vlmc-devel
mailing list