1 /* GStreamer DTMF plugin
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Library General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Library General Public License for more details.
12 *
13 * You should have received a copy of the GNU Library General Public
14 * License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
16 * Boston, MA 02110-1301, USA.
17 */
18
19 #ifdef HAVE_CONFIG_H
20 #include "config.h"
21 #endif
22
23 #include "gstdtmfsrc.h"
24 #include "gstrtpdtmfsrc.h"
25 #include "gstrtpdtmfdepay.h"
26
27 static gboolean
plugin_init(GstPlugin * plugin)28 plugin_init (GstPlugin * plugin)
29 {
30 if (!gst_dtmf_src_plugin_init (plugin))
31 return FALSE;
32
33 if (!gst_rtp_dtmf_src_plugin_init (plugin))
34 return FALSE;
35
36 if (!gst_rtp_dtmf_depay_plugin_init (plugin))
37 return FALSE;
38
39 return TRUE;
40 }
41
42 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
43 GST_VERSION_MINOR,
44 dtmf, "DTMF plugins",
45 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
46