[vlmc-devel] commit: EffectUser;: Fixing infinite loop. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Mon Sep 13 00:00:01 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Sep 12 18:17:27 2010 +0200| [33d2b532d73a3a7a19aa46dd17d91146e8a1a082] | committer: Hugo Beauzée-Luyssen 

EffectUser;: Fixing infinite loop.

Next time I'll test with more than 1 effect -_-

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

 src/EffectsEngine/EffectUser.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/EffectsEngine/EffectUser.cpp b/src/EffectsEngine/EffectUser.cpp
index 9e3d326..fdcff54 100644
--- a/src/EffectsEngine/EffectUser.cpp
+++ b/src/EffectsEngine/EffectUser.cpp
@@ -271,6 +271,7 @@ EffectUser::removeEffect(EffectHelper *helper)
             emit effectRemoved( eh->uuid() );
             return ;
         }
+        ++it;
     }
     qWarning() << "Can't find EffectHelper" << helper->uuid() << "for removal.";
 }



More information about the Vlmc-devel mailing list