|
From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2007-08-31 08:28:50
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=350477 GStreamer | gstreamer (core) | Ver: HEAD CVS ------- Comment #19 from Edward Hervey 2007-08-31 08:28 UTC ------- (In reply to comment #18) > Oh right. Yes lets put it into the plugin struct. I definitely want it plugin > global. Thats what I menat wit my last comment (that there wouldn't be 173 > times the info). ok, was starting to get confused here :) > > So this could look like: > gst_plugin_set_external_dependency_info(plugin, > "/usr/lib/ladspa:/usr/local/lib/ladspa",".so,.so2","LADSPA_PLUGIN_PATH",FLAG_NONE); > > (yes *.so2 is nonsense). Dunno if it also make sense to have a flag that > defines wheter the env-var that holds a path too would be prefered over the > path, prepended or appened to the path. I don't really know what the flag would bring extra. Checking if (plugin->externalpath == NULL) should be enough and bring the same functionality. > > The registry cache would need to carry a timestamp for each directory (or even > each file?) in order to check for changes. > For each file unfortunately. I can't see how we can get a fully working system with only recording the timestamps of only directories (it might work on unix/posix, but I doubt it'll work on win32). Tim : I don't think globbing would bring us anything extra, just checking the extensions (as we already do to check for plugins using .so,.dll,.dynlib,...) of the files should be enough. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=350477. |