summaryrefslogtreecommitdiff
authorLeo Singer <lsinger@caltech.edu>2010-08-30 09:52:58 (GMT)
committer Alessandro Decina <alessandro.d@gmail.com>2010-08-30 09:52:58 (GMT)
commit01dda89d42ed5b72d3dde6b6432245dc968f8114 (patch) (side-by-side diff)
tree3d6753a354d8d8582352c3b462c25a495127e2c3
parentca020b3dd7ae5e8f95bbcd2b6556f950a3586c60 (diff)
downloadgst-python-01dda89d42ed5b72d3dde6b6432245dc968f8114.zip
gst-python-01dda89d42ed5b72d3dde6b6432245dc968f8114.tar.gz
plugin: refresh the plugin registry when plugins change.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--plugin/gstpythonplugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/gstpythonplugin.c b/plugin/gstpythonplugin.c
index 70199d9..f7e37a5 100644
--- a/plugin/gstpythonplugin.c
+++ b/plugin/gstpythonplugin.c
@@ -350,7 +350,9 @@ plugin_init (GstPlugin * plugin)
gst_plugin_add_dependency_simple (plugin,
"HOME/.gstreamer-0.10/plugins/python:GST_PLUGIN_SYSTEM_PATH/python:GST_PLUGIN_PATH/python",
- NULL, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);
+ PLUGINDIR "/python:HOME/.gstreamer-0.10/plugins/python:"
+ "GST_PLUGIN_SYSTEM_PATH/python:GST_PLUGIN_PATH/python", NULL,
+ GST_PLUGIN_DEPENDENCY_FLAG_NONE);
GST_LOG ("Checking to see if libpython is already loaded");
g_module_symbol (g_module_open (NULL, G_MODULE_BIND_LOCAL), "_Py_NoneStruct",