[vlmc-devel] commit: TrackWorkflow: Adding a effect should rely on the clip helper's id. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Thu Aug 26 23:03:06 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Aug 25 15:11:20 2010 +0200| [2d82cc20b0794e32eba967bf70ac646d6db96785] | committer: Hugo Beauzée-Luyssen 

TrackWorkflow: Adding a effect should rely on the clip helper's id.

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

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

diff --git a/src/Workflow/TrackWorkflow.cpp b/src/Workflow/TrackWorkflow.cpp
index 91864c5..43418d5 100644
--- a/src/Workflow/TrackWorkflow.cpp
+++ b/src/Workflow/TrackWorkflow.cpp
@@ -98,7 +98,7 @@ TrackWorkflow::addEffect( Effect *effect, const QUuid &uuid )
 
     while ( it != end )
     {
-        if ( it.value()->getClipHelper()->clip()->fullId() == uuid )
+        if ( it.value()->getClipHelper()->uuid() == uuid )
             return it.value()->appendEffect( effect );
         ++it;
     }



More information about the Vlmc-devel mailing list