[vlmc-devel] Commands: Fix clip resize

Hugo Beauzée-Luyssen git at videolan.org
Sun Oct 30 02:02:10 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Oct 30 00:34:28 2016 +0200| [39eef2881ad1688cddfe455c88b63969c1c78ab3] | committer: Hugo Beauzée-Luyssen

Commands: Fix clip resize

> https://code.videolan.org/videolan/vlmc/commit/39eef2881ad1688cddfe455c88b63969c1c78ab3
---

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

diff --git a/src/Commands/Commands.cpp b/src/Commands/Commands.cpp
index 6d5102f..e3d6501 100644
--- a/src/Commands/Commands.cpp
+++ b/src/Commands/Commands.cpp
@@ -249,16 +249,16 @@ Commands::Clip::Resize::Resize( std::shared_ptr<SequenceWorkflow> const& workflo
     m_newEnd( newEnd ),
     m_newPos( newPos )
 {
-    if ( m_clip->uuid.isNull() == false )
+    if ( m_clip->uuid.isNull() == true )
     {
         invalidate();
-        retranslate();
         return;
     }
     m_oldBegin = m_clip->clip->begin();
     m_oldEnd = m_clip->clip->end();
     m_oldPos = workflow->trackId( uuid );
     retranslate();
+
 }
 
 void



More information about the Vlmc-devel mailing list