summaryrefslogtreecommitdiffstats
path: root/ext/amrwbenc/gstamrwb.c
diff options
context:
space:
mode:
authorIago Toral <itoral@igalia.com>2009-07-27 19:55:27 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-27 20:02:37 +0200
commit29e39080324a4a5a3b4d5bbc3fc79213090c6b0a (patch)
tree9957e88829653b9511eba464ac89b57c605cf741 /ext/amrwbenc/gstamrwb.c
parentffe90f81a4d1f9e123c269895bb97446b9d0f3c2 (diff)
downloadgst-plugins-bad-29e39080324a4a5a3b4d5bbc3fc79213090c6b0a.tar.gz
gst-plugins-bad-29e39080324a4a5a3b4d5bbc3fc79213090c6b0a.tar.bz2
gst-plugins-bad-29e39080324a4a5a3b4d5bbc3fc79213090c6b0a.zip
amrwb: Remove AMR-WB parser and decoder and rename encoder plugin from amrwb to amrwbenc
Partially fixes bug #584890.
Diffstat (limited to 'ext/amrwbenc/gstamrwb.c')
-rw-r--r--ext/amrwbenc/gstamrwb.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/ext/amrwbenc/gstamrwb.c b/ext/amrwbenc/gstamrwb.c
new file mode 100644
index 00000000..6cd734b1
--- /dev/null
+++ b/ext/amrwbenc/gstamrwb.c
@@ -0,0 +1,39 @@
+/* GStreamer Adaptive Multi-Rate Wide-Band (AMR-WB) Encoder plugin
+ * Copyright (C) 2006 Edgard Lima <edgard.lima@indt.org.br>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gstamrwbenc.h"
+
+static gboolean
+plugin_init (GstPlugin * plugin)
+{
+ return gst_element_register (plugin, "amrwbenc",
+ GST_RANK_NONE, GST_TYPE_AMRWBENC);
+}
+
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "amrwbenc",
+ "Adaptive Multi-Rate Wide-Band Encoder",
+ plugin_init, VERSION, GST_LICENSE_UNKNOWN, GST_PACKAGE_NAME,
+ GST_PACKAGE_ORIGIN);