Merge branch 'dtmf-moved-from-bad'
[platform/upstream/gst-plugins-good.git] / gst / dtmf / gstdtmf.c
1
2 #ifdef HAVE_CONFIG_H
3 #include "config.h"
4 #endif
5
6 #include "gstdtmfsrc.h"
7 #include "gstrtpdtmfsrc.h"
8 #include "gstrtpdtmfdepay.h"
9
10
11 static gboolean
12 plugin_init (GstPlugin * plugin)
13 {
14   if (!gst_dtmf_src_plugin_init (plugin))
15     return FALSE;
16
17   if (!gst_rtp_dtmf_src_plugin_init (plugin))
18     return FALSE;
19
20   if (!gst_rtp_dtmf_depay_plugin_init (plugin))
21     return FALSE;
22
23   return TRUE;
24 }
25
26 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
27     GST_VERSION_MINOR,
28     dtmf, "DTMF plugins",
29     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)