GNOME Bugzilla – Bug 321875
gst_plugin_check_file disappeared
Last modified: 2005-11-21 18:07:50 UTC
In revision 1.143 of gstplugin.c, gst_plugin_check_file was removed: http://cvs.freedesktop.org/gstreamer/gstreamer/gst/gstplugin.c?r1=1.142&r2=1.143 It's still prototyped in the header, so why did it have to die? The attached (untested) patch it's it and a helper back.
Created attachment 54947 [details] [review] Adding gst_plugin_check_file
Just tested the patch. Seems to work.
We can't think of any reason why an application would want to use these functions, so rather than adding the implementation, I've deleted the (commented out) declaration from the header. Please reopen and add a description of how/why this is something useful for apps if you think it is. From IRC: "I'd think not (they might be useful as internal API, but not as public API). The use would, I'd think, be some app having a directory of files containing app-private plugins, and it wants to check which files are actually gst plugins. But for that use, I'd think the app would just tell the registry to scan that directory."