[vlmc-devel] commit: Commands: Fixing split imprecision. ( =?UTF-8?Q?Hugo=20Beauz=C3=A9e=2DLuyssen?==?UTF-8?Q?=20?=)

git at videolan.org git at videolan.org
Thu Nov 25 15:43:31 CET 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Nov 24 17:25:22 2010 +0100| [0880b2aa0b83fe50b457f47768111c8f9964a144] | committer: Hugo Beauzée-Luyssen 

Commands: Fixing split imprecision.

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

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

diff --git a/src/Commands/Commands.cpp b/src/Commands/Commands.cpp
index 441d04d..9d4c5f0 100644
--- a/src/Commands/Commands.cpp
+++ b/src/Commands/Commands.cpp
@@ -261,7 +261,7 @@ Commands::Clip::Split::internalRedo()
 {
     //If we don't remove 1, the clip will end exactly at the starting frame (ie. they will
     //be rendering at the same time)
-    m_toSplit->setEnd( m_newClipBegin - 1 );
+    m_toSplit->setEnd( m_newClipBegin );
     m_trackWorkflow->addClip( m_newClip, m_newClipPos );
 }
 



More information about the Vlmc-devel mailing list