[vlmc-devel] Commands: Fix wrong old position being stored

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


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Oct 30 01:18:30 2016 +0200| [b3f8b6782627ca0a4630e74637c11aa9c42797d8] | committer: Hugo Beauzée-Luyssen

Commands: Fix wrong old position being stored

> https://code.videolan.org/videolan/vlmc/commit/b3f8b6782627ca0a4630e74637c11aa9c42797d8
---

 src/Commands/Commands.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Commands/Commands.cpp b/src/Commands/Commands.cpp
index e3d6501..cd5f5e7 100644
--- a/src/Commands/Commands.cpp
+++ b/src/Commands/Commands.cpp
@@ -256,7 +256,7 @@ Commands::Clip::Resize::Resize( std::shared_ptr<SequenceWorkflow> const& workflo
     }
     m_oldBegin = m_clip->clip->begin();
     m_oldEnd = m_clip->clip->end();
-    m_oldPos = workflow->trackId( uuid );
+    m_oldPos = m_clip->pos;
     retranslate();
 
 }



More information about the Vlmc-devel mailing list