summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/riff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-24 20:55:44 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-24 20:55:44 +0000
commit0cc78c5ef82a4d0ba9d9560e8afff292d99e1088 (patch)
tree843ffa7c8e1183470d93b8e9b5892d9f3898356d /gst-libs/gst/riff
parent1ca4ae60d2fd9190f24c57f311d84f2e56baaafa (diff)
downloadgst-plugins-bad-0cc78c5ef82a4d0ba9d9560e8afff292d99e1088.tar.gz
gst-plugins-bad-0cc78c5ef82a4d0ba9d9560e8afff292d99e1088.tar.bz2
gst-plugins-bad-0cc78c5ef82a4d0ba9d9560e8afff292d99e1088.zip
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.
Diffstat (limited to 'gst-libs/gst/riff')
-rw-r--r--gst-libs/gst/riff/riff.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gst-libs/gst/riff/riff.c b/gst-libs/gst/riff/riff.c
index 1761bc3b..5c02a162 100644
--- a/gst-libs/gst/riff/riff.c
+++ b/gst-libs/gst/riff/riff.c
@@ -224,3 +224,17 @@ gchar *gst_riff_id_to_fourcc(gulong id) {
return fourcc;
}
+
+static gboolean
+plugin_init (GModule *module, GstPlugin *plugin)
+{
+ gst_plugin_set_longname (plugin, "RIFF convenience routines");
+ return TRUE;
+}
+
+GstPluginDesc plugin_desc = {
+ GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "gstriff",
+ plugin_init
+};