summaryrefslogtreecommitdiffstats
path: root/ext/audiofile/gstaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/audiofile/gstaf.c')
-rw-r--r--ext/audiofile/gstaf.c23
1 files changed, 14 insertions, 9 deletions
diff --git a/ext/audiofile/gstaf.c b/ext/audiofile/gstaf.c
index c3eb2bcf..691788ea 100644
--- a/ext/audiofile/gstaf.c
+++ b/ext/audiofile/gstaf.c
@@ -22,25 +22,30 @@
#include "gstafsink.h"
#include "gstafparse.h"
-gboolean gst_aftypes_plugin_init (GModule *module, GstPlugin *plugin);
+gboolean gst_aftypes_plugin_init (GstPlugin *plugin);
static gboolean
-plugin_init (GModule *module, GstPlugin *plugin)
+plugin_init (GstPlugin *plugin)
{
if (!gst_library_load ("gstbytestream"))
return FALSE;
- gst_afsink_plugin_init (module, plugin);
- gst_afsrc_plugin_init (module, plugin);
- gst_afparse_plugin_init (module, plugin);
- gst_aftypes_plugin_init (module, plugin);
+ gst_afsink_plugin_init (plugin);
+ gst_afsrc_plugin_init (plugin);
+ gst_afparse_plugin_init (plugin);
+ gst_aftypes_plugin_init (plugin);
return TRUE;
}
-GstPluginDesc plugin_desc = {
+GST_PLUGIN_DEFINE (
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"gstaf",
- plugin_init
-};
+ "Audiofile plugin",
+ plugin_init,
+ VERSION,
+ "LGPL",
+ GST_COPYRIGHT,
+ GST_PACKAGE,
+ GST_ORIGIN)