From 6d5504f6497bac3dfd697b0482b937153fd083ed Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sat, 1 Nov 2003 14:04:20 +0000 Subject: Update all the audiofile stuff Original commit message from CVS: Update all the audiofile stuff --- ext/audiofile/gstaftypes.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ext/audiofile/gstaftypes.c') diff --git a/ext/audiofile/gstaftypes.c b/ext/audiofile/gstaftypes.c index befe141b..09e68d32 100644 --- a/ext/audiofile/gstaftypes.c +++ b/ext/audiofile/gstaftypes.c @@ -106,13 +106,14 @@ gst_aftypes_type_find(GstTypeFind *tf, gpointer private) } gboolean -gst_aftypes_plugin_init (GModule *module, GstPlugin *plugin) +gst_aftypes_plugin_init (GstPlugin *plugin) { static gchar * af_exts[] = { "aiff", "aif", "aifc", "wav", "au", "snd", NULL }; - gst_type_find_factory_register (plugin, "audio/x-mod", - GST_ELEMENT_RANK_MARGINAL, gst_aftypes_type_find, af_exts, - GST_CAPS_ANY, NULL); + gst_type_find_register (plugin, "audio/x-mod", + GST_RANK_MARGINAL, + gst_aftypes_type_find, af_exts, + GST_CAPS_ANY, NULL); return TRUE; } -- cgit v1.2.1