From 6510eef093ab1598b9c50c2b7e0c209fb2752742 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Tue, 25 Oct 2005 16:12:03 +0000 Subject: Over-writing Wim's gsm plugins (currently not working) with that from the farsight repo. Also made sure that they wor... Original commit message from CVS: Over-writing Wim's gsm plugins (currently not working) with that from the farsight repo. Also made sure that they work with the RTP (de)payloader. --- ext/gsm/gstgsm.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'ext/gsm/gstgsm.c') diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c index c71dacb0..60140716 100644 --- a/ext/gsm/gstgsm.c +++ b/ext/gsm/gstgsm.c @@ -1,5 +1,7 @@ -/* GStreamer - * Copyright (C) <1999> Erik Walthinsen +/* + * Farsight + * GStreamer GSM encoder/decoder (uses WAV49 compiled libgsm) + * Copyright (C) 2005 Philippe Khalaf * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -29,14 +31,14 @@ plugin_init (GstPlugin * plugin) { if (!gst_element_register (plugin, "gsmenc", GST_RANK_NONE, GST_TYPE_GSMENC)) return FALSE; - if (!gst_element_register (plugin, "gsmdec", GST_RANK_PRIMARY, - GST_TYPE_GSMDEC)) + if (!gst_element_register (plugin, "gsmdec", GST_RANK_NONE, GST_TYPE_GSMDEC)) return FALSE; + return TRUE; } GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "gsm", - "GSM Elements Plugin", - plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN) + "GSM encoder/decoder", + plugin_init, VERSION, "LGPL", "Farsight", "http://farsight.sf.net") -- cgit v1.2.1