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 321875 - gst_plugin_check_file disappeared
gst_plugin_check_file disappeared
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.9.x
Other Linux
: High major
: 0.9.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-19 19:37 UTC by Torsten Schoenfeld
Modified: 2005-11-21 18:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adding gst_plugin_check_file (2.83 KB, patch)
2005-11-19 19:38 UTC, Torsten Schoenfeld
none Details | Review

Description Torsten Schoenfeld 2005-11-19 19:37:36 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.
Comment 1 Torsten Schoenfeld 2005-11-19 19:38:12 UTC
Created attachment 54947 [details] [review]
Adding gst_plugin_check_file
Comment 2 Torsten Schoenfeld 2005-11-19 19:47:46 UTC
Just tested the patch.  Seems to work.
Comment 3 Michael Smith 2005-11-21 18:07:50 UTC
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."