[vlmc-devel] SequenceWorkflow: optimize unnecessary clip->uuid

Hieu Pham git at videolan.org
Fri Mar 31 22:50:42 CEST 2017


vlmc | branch: master | Hieu Pham <phamhuuquanghieu at gmail.com> | Fri Mar 31 01:30:49 2017 -0500| [a125869540bbe5e85188c266623e404bb3203a26] | committer: Yikai Lu

SequenceWorkflow: optimize unnecessary clip->uuid

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

 src/Workflow/SequenceWorkflow.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Workflow/SequenceWorkflow.cpp b/src/Workflow/SequenceWorkflow.cpp
index c23643e..8b332bf 100644
--- a/src/Workflow/SequenceWorkflow.cpp
+++ b/src/Workflow/SequenceWorkflow.cpp
@@ -187,9 +187,9 @@ SequenceWorkflow::linkClips( const QUuid& uuidA, const QUuid& uuidB )
         vlmcCritical() << "Couldn't find clips: " << uuidA << " and " << uuidB;
         return false;
     }
-    clipA->linkedClips.append( clipB->uuid );
-    clipB->linkedClips.append( clipA->uuid );
-    emit clipLinked( clipA->uuid.toString(), clipB->uuid.toString() );
+    clipA->linkedClips.append( uuidB );
+    clipB->linkedClips.append( uuidA );
+    emit clipLinked( uuidA.toString(), uuidB.toString() );
     return true;
 }
 



More information about the Vlmc-devel mailing list