gstdtmf.c 651 Bytes
Newer Older
1 2 3 4 5

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

6
#include "gstdtmfdetect.h"
7 8
#include "gstdtmfsrc.h"
#include "gstrtpdtmfsrc.h"
9
#include "gstrtpdtmfdepay.h"
10 11 12 13 14


static gboolean
plugin_init (GstPlugin * plugin)
{
15 16 17
  if (!gst_dtmf_detect_plugin_init (plugin))
    return FALSE;

18 19 20 21 22 23
  if (!gst_dtmf_src_plugin_init (plugin))
    return FALSE;

  if (!gst_rtp_dtmf_src_plugin_init (plugin))
    return FALSE;

24 25 26
  if (!gst_rtp_dtmf_depay_plugin_init (plugin))
    return FALSE;

27 28 29 30 31
  return TRUE;
}

GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
    GST_VERSION_MINOR,
32 33
    "dtmf", "DTMF plugins",
    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)