After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625660 - gstpythonplugin: fails to refresh plugin registry when installed Python plugins change
gstpythonplugin: fails to refresh plugin registry when installed Python plugi...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other All
: Normal major
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-30 14:43 UTC by Leo Singer
Modified: 2010-08-30 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (705 bytes, patch)
2010-07-30 14:43 UTC, Leo Singer
none Details | Review
New patch, relative to master (712 bytes, patch)
2010-08-26 22:00 UTC, Leo Singer
none Details | Review

Description Leo Singer 2010-07-30 14:43:45 UTC
Created attachment 166837 [details] [review]
Proposed patch

gstpythonplugin fails to refresh the list of Python elements when new elements are added or old ones are removed.  This is because in the call to gst_plugin_add_dependency_simple there are no file or directory dependencies given: the "path" parameter is set to NULL.

The attached patch fixes this.  Adding, removing, or changing any of the files in any of the locations that are searched for Python elements will now result in the Python plugin being refreshed.
Comment 1 Leo Singer 2010-08-26 22:00:37 UTC
Created attachment 168846 [details] [review]
New patch, relative to master
Comment 2 Alessandro Decina 2010-08-30 09:54:49 UTC
commit 01dda89d42ed5b72d3dde6b6432245dc968f8114
Author: Leo Singer <lsinger@caltech.edu>
Date:   Mon Aug 30 11:52:58 2010 +0200

    plugin: refresh the plugin registry when plugins change.