summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/idct
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-10-31 20:03:29 +0000
committerBenjamin Otte <otte@gnome.org>2003-10-31 20:03:29 +0000
commit7c1ac98ca4b3b52c5c7d7ba005972803fab0b7e9 (patch)
tree5d60bef2e36bc94ce2939dd797fee190e2467f28 /gst-libs/gst/idct
parent5bc252df9e2a4ac868a62f3b39327dfa32ecc0ee (diff)
downloadgst-plugins-bad-7c1ac98ca4b3b52c5c7d7ba005972803fab0b7e9.tar.gz
gst-plugins-bad-7c1ac98ca4b3b52c5c7d7ba005972803fab0b7e9.tar.bz2
gst-plugins-bad-7c1ac98ca4b3b52c5c7d7ba005972803fab0b7e9.zip
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
Diffstat (limited to 'gst-libs/gst/idct')
-rw-r--r--gst-libs/gst/idct/idct.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/gst-libs/gst/idct/idct.c b/gst-libs/gst/idct/idct.c
index f5955c11..4e62a471 100644
--- a/gst-libs/gst/idct/idct.c
+++ b/gst-libs/gst/idct/idct.c
@@ -17,8 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
-
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <gst/gst.h>
#include <gst/idct/idct.h>
@@ -127,15 +128,20 @@ void gst_idct_destroy(GstIDCT *idct)
}
static gboolean
-plugin_init (GModule *module, GstPlugin *plugin)
+plugin_init (GstPlugin *plugin)
{
- gst_plugin_set_longname (plugin, "Accelerated IDCT routines");
return TRUE;
}
-GstPluginDesc plugin_desc = {
+GST_PLUGIN_DEFINE (
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"gstidct",
- plugin_init
-};
+ "Accelerated IDCT routines",
+ plugin_init,
+ VERSION,
+ GST_LICENSE,
+ GST_COPYRIGHT,
+ GST_PACKAGE,
+ GST_ORIGIN
+)