[vlmc-devel] commit: Adding the current dir in the "effect plugins" directory list. ( Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Wed Mar 17 21:12:09 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 17 20:08:49 2010 +0100| [93c3d1bd8df07975d7a7c95393c34ee9a4ccfb54] | committer: Hugo Beauzee-Luyssen 

Adding the current dir in the "effect plugins" directory list.

Removed dead code.

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

 src/EffectsEngine/EffectNodeFactory.cpp       |    1 -
 src/EffectsEngine/EffectPluginTypeManager.cpp |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/EffectsEngine/EffectNodeFactory.cpp b/src/EffectsEngine/EffectNodeFactory.cpp
index 47a7aa9..6003c23 100644
--- a/src/EffectsEngine/EffectNodeFactory.cpp
+++ b/src/EffectsEngine/EffectNodeFactory.cpp
@@ -213,7 +213,6 @@ EffectNodeFactory::createEffectNodeInstance( const QString & typeName )
         m_enById[ instanceId ] = newNode;
         m_nameById[ instanceId ] = instanceName;
         return true;
-        qDebug() << "EffectNode* with typeName[" << typeName << "] created.";
     }
     qDebug() << "Can't create EffectNode* with typeName[" << typeName << "]!";
     return false;
diff --git a/src/EffectsEngine/EffectPluginTypeManager.cpp b/src/EffectsEngine/EffectPluginTypeManager.cpp
index 7b083b0..24f4298 100644
--- a/src/EffectsEngine/EffectPluginTypeManager.cpp
+++ b/src/EffectsEngine/EffectPluginTypeManager.cpp
@@ -36,6 +36,7 @@ EffectPluginTypeManager::EffectPluginTypeManager( void ) : m_higherFreeId( 2 )
 
     dirs << "effects/";
     dirs << "bin/effects/";
+    dirs << "./";
 
 #ifdef VLMC_EFFECTS_DIR
     dirs << VLMC_EFFECTS_DIR;



More information about the Vlmc-devel mailing list