plugins: fix movieplayer-plugin

Origin commit data
------------------
Commit: bbd88cd051
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-24 (Sun, 24 Jan 2016)

Origin message was:
------------------
- plugins: fix movieplayer-plugin
This commit is contained in:
vanhofen
2016-01-24 21:28:37 +01:00
parent 749e5b2e57
commit 9e2492ab2a

View File

@@ -350,11 +350,11 @@ PluginParam * CPlugins::makeParam(const char * const id, const int value, Plugin
}
#endif
void CPlugins::startPlugin_by_name(const std::string & filename)
void CPlugins::startPlugin_by_name(const std::string & name)
{
for (int i = 0; i < (int) plugin_list.size(); i++)
{
if (!filename.compare(g_PluginList->getFileName(i)))
if (name.compare(g_PluginList->getName(i)) == 0)
{
startPlugin(i);
return;