From 7c1ac98ca4b3b52c5c7d7ba005972803fab0b7e9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 31 Oct 2003 20:03:29 +0000 Subject: first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ex... Original commit message from CVS: first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ext/mad. You guessed it, everything Rhythmbox needs ;) fixed BMP typefind and made gnomevfs one plugin instead of two while doing this --- gst-libs/gst/resample/resample.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'gst-libs/gst/resample') diff --git a/gst-libs/gst/resample/resample.c b/gst-libs/gst/resample/resample.c index 7ced0f54..b298e86d 100644 --- a/gst-libs/gst/resample/resample.c +++ b/gst-libs/gst/resample/resample.c @@ -870,16 +870,21 @@ void resample_sinc_ft_float(resample_t * r) } static gboolean -plugin_init (GModule *module, GstPlugin *plugin) +plugin_init (GstPlugin *plugin) { - gst_plugin_set_longname (plugin, "Resampling routines for use in audio plugins"); return TRUE; } -GstPluginDesc plugin_desc = { +GST_PLUGIN_DEFINE ( GST_VERSION_MAJOR, GST_VERSION_MINOR, "gstresample", - plugin_init -}; + "Resampling routines for use in audio plugins", + plugin_init, + VERSION, + GST_LICENSE, + GST_COPYRIGHT, + GST_PACKAGE, + GST_ORIGIN +); -- cgit v1.2.1