diff options
Diffstat (limited to 'ext/speex/gstspeex.c')
-rw-r--r-- | ext/speex/gstspeex.c | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/ext/speex/gstspeex.c b/ext/speex/gstspeex.c index df2f230c..0b0de0bf 100644 --- a/ext/speex/gstspeex.c +++ b/ext/speex/gstspeex.c @@ -24,24 +24,21 @@ #include "gstspeexenc.h" static gboolean -plugin_init (GstPlugin *plugin) +plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "speexenc", GST_RANK_NONE, GST_TYPE_SPEEXENC)) + if (!gst_element_register (plugin, "speexenc", GST_RANK_NONE, + GST_TYPE_SPEEXENC)) return FALSE; - if (!gst_element_register (plugin, "speexdec", GST_RANK_PRIMARY, GST_TYPE_SPEEXDEC)) + if (!gst_element_register (plugin, "speexdec", GST_RANK_PRIMARY, + GST_TYPE_SPEEXDEC)) return FALSE; - + return TRUE; } -GST_PLUGIN_DEFINE ( - GST_VERSION_MAJOR, - GST_VERSION_MINOR, - "speex", - "Speex plugin library", - plugin_init, - VERSION, - "LGPL", - GST_PACKAGE, - GST_ORIGIN) +GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + GST_VERSION_MINOR, + "speex", + "Speex plugin library", + plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN) |