blob: 472dbb061e6e92c085420c61ec6bc0a9a8f5b3a3 [file] [log] [blame]
Zeeshan Ali6510eef2005-10-25 16:12:03 +00001/*
2 * Farsight
3 * GStreamer GSM encoder/decoder (uses WAV49 compiled libgsm)
4 * Copyright (C) 2005 Philippe Khalaf <burger@speedy.org>
Thomas Vander Sticheleb69e24c2001-12-23 14:29:43 +00005 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
Tim-Philipp Müller9e1b75f2012-11-03 20:38:00 +000018 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
Thomas Vander Sticheleb69e24c2001-12-23 14:29:43 +000020 */
21
Ronald S. Bultjecb906222003-11-07 12:47:02 +000022#ifdef HAVE_CONFIG_H
23#include "config.h"
24#endif
Thomas Vander Sticheleb69e24c2001-12-23 14:29:43 +000025
26#include "gstgsmdec.h"
27#include "gstgsmenc.h"
28
Thomas Vander Sticheleb69e24c2001-12-23 14:29:43 +000029static gboolean
Thomas Vander Stichele7a778ee2004-03-14 22:34:33 +000030plugin_init (GstPlugin * plugin)
Thomas Vander Sticheleb69e24c2001-12-23 14:29:43 +000031{
Edward Herveydd221f82009-11-18 18:00:23 +010032 if (!gst_element_register (plugin, "gsmenc", GST_RANK_PRIMARY,
33 GST_TYPE_GSMENC))
Iain Holmes0047a122003-11-01 16:35:25 +000034 return FALSE;
Wim Taymans17ed3512006-08-21 16:21:03 +000035 if (!gst_element_register (plugin, "gsmdec", GST_RANK_PRIMARY,
36 GST_TYPE_GSMDEC))
Iain Holmes0047a122003-11-01 16:35:25 +000037 return FALSE;
Zeeshan Ali6510eef2005-10-25 16:12:03 +000038
Thomas Vander Sticheleb69e24c2001-12-23 14:29:43 +000039 return TRUE;
40}
41
Thomas Vander Stichele7a778ee2004-03-14 22:34:33 +000042GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
43 GST_VERSION_MINOR,
Sebastian Drögecda192b2012-04-05 18:02:56 +020044 gsm,
Zeeshan Ali6510eef2005-10-25 16:12:03 +000045 "GSM encoder/decoder",
Sebastian Drögee4476e12008-03-13 14:25:20 +000046 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)