Zeeshan Ali | 6510eef | 2005-10-25 16:12:03 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Farsight |
| 3 | * GStreamer GSM encoder/decoder (uses WAV49 compiled libgsm) |
| 4 | * Copyright (C) 2005 Philippe Khalaf <burger@speedy.org> |
Thomas Vander Stichele | b69e24c | 2001-12-23 14:29:43 +0000 | [diff] [blame] | 5 | * |
| 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üller | 9e1b75f | 2012-11-03 20:38:00 +0000 | [diff] [blame] | 18 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
| 19 | * Boston, MA 02110-1301, USA. |
Thomas Vander Stichele | b69e24c | 2001-12-23 14:29:43 +0000 | [diff] [blame] | 20 | */ |
| 21 | |
Ronald S. Bultje | cb90622 | 2003-11-07 12:47:02 +0000 | [diff] [blame] | 22 | #ifdef HAVE_CONFIG_H |
| 23 | #include "config.h" |
| 24 | #endif |
Thomas Vander Stichele | b69e24c | 2001-12-23 14:29:43 +0000 | [diff] [blame] | 25 | |
| 26 | #include "gstgsmdec.h" |
| 27 | #include "gstgsmenc.h" |
| 28 | |
Thomas Vander Stichele | b69e24c | 2001-12-23 14:29:43 +0000 | [diff] [blame] | 29 | static gboolean |
Thomas Vander Stichele | 7a778ee | 2004-03-14 22:34:33 +0000 | [diff] [blame] | 30 | plugin_init (GstPlugin * plugin) |
Thomas Vander Stichele | b69e24c | 2001-12-23 14:29:43 +0000 | [diff] [blame] | 31 | { |
Edward Hervey | dd221f8 | 2009-11-18 18:00:23 +0100 | [diff] [blame] | 32 | if (!gst_element_register (plugin, "gsmenc", GST_RANK_PRIMARY, |
| 33 | GST_TYPE_GSMENC)) |
Iain Holmes | 0047a12 | 2003-11-01 16:35:25 +0000 | [diff] [blame] | 34 | return FALSE; |
Wim Taymans | 17ed351 | 2006-08-21 16:21:03 +0000 | [diff] [blame] | 35 | if (!gst_element_register (plugin, "gsmdec", GST_RANK_PRIMARY, |
| 36 | GST_TYPE_GSMDEC)) |
Iain Holmes | 0047a12 | 2003-11-01 16:35:25 +0000 | [diff] [blame] | 37 | return FALSE; |
Zeeshan Ali | 6510eef | 2005-10-25 16:12:03 +0000 | [diff] [blame] | 38 | |
Thomas Vander Stichele | b69e24c | 2001-12-23 14:29:43 +0000 | [diff] [blame] | 39 | return TRUE; |
| 40 | } |
| 41 | |
Thomas Vander Stichele | 7a778ee | 2004-03-14 22:34:33 +0000 | [diff] [blame] | 42 | GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, |
| 43 | GST_VERSION_MINOR, |
Sebastian Dröge | cda192b | 2012-04-05 18:02:56 +0200 | [diff] [blame] | 44 | gsm, |
Zeeshan Ali | 6510eef | 2005-10-25 16:12:03 +0000 | [diff] [blame] | 45 | "GSM encoder/decoder", |
Sebastian Dröge | e4476e1 | 2008-03-13 14:25:20 +0000 | [diff] [blame] | 46 | plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) |