From 343ee1744acb4046b84a68e012b0d5040761aff2 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sun, 2 Nov 2003 02:31:04 +0000 Subject: XVid compiles again...I'm off to bed :) Original commit message from CVS: XVid compiles again...I'm off to bed :) --- ext/xvid/gstxvid.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'ext/xvid/gstxvid.c') diff --git a/ext/xvid/gstxvid.c b/ext/xvid/gstxvid.c index 8496a9d4..74733ac3 100644 --- a/ext/xvid/gstxvid.c +++ b/ext/xvid/gstxvid.c @@ -85,16 +85,20 @@ gst_xvid_error (int errorcode) } static gboolean -plugin_init (GModule *module, - GstPlugin *plugin) +plugin_init (GstPlugin *plugin) { - return (gst_xviddec_plugin_init(module, plugin) && - gst_xvidenc_plugin_init(module, plugin)); + return (gst_xviddec_plugin_init(plugin) && + gst_xvidenc_plugin_init(plugin)); } -GstPluginDesc plugin_desc = { +GST_PLUGIN_DEFINE ( GST_VERSION_MAJOR, GST_VERSION_MINOR, "xvid", - plugin_init -}; + "XVid plugin library", + plugin_init, + VERSION, + "GPL", + GST_COPYRIGHT, + GST_PACKAGE, + GST_ORIGIN) -- cgit v1.2.1