From 0cc78c5ef82a4d0ba9d9560e8afff292d99e1088 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 24 Mar 2002 20:55:44 +0000 Subject: added plugin_desc structures to libs, which makes their locations cached in the registry. this speeds plugin loading ... Original commit message from CVS: * added plugin_desc structures to libs, which makes their locations cached in the registry. this speeds plugin loading considerably, especially on uninstalled versions. * put the lib path before all others, for speed reasons. * some fixes to adder's caps. * added linefeeds (\n) to GST_DEBUG strings to match GST_INFO behavior. this is more sane. all code will need to be converted. i think some perl can do this. --- gst-libs/gst/idct/idct.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gst-libs/gst/idct') diff --git a/gst-libs/gst/idct/idct.c b/gst-libs/gst/idct/idct.c index 6fa63b5b..7b1158fd 100644 --- a/gst-libs/gst/idct/idct.c +++ b/gst-libs/gst/idct/idct.c @@ -126,3 +126,16 @@ void gst_idct_destroy(GstIDCT *idct) g_free(idct); } +static gboolean +plugin_init (GModule *module, GstPlugin *plugin) +{ + gst_plugin_set_longname (plugin, "Accelerated IDCT routines"); + return TRUE; +} + +GstPluginDesc plugin_desc = { + GST_VERSION_MAJOR, + GST_VERSION_MINOR, + "gstidtc", + plugin_init +}; -- cgit v1.2.1