gstrtp.c 3.38 KB
Newer Older
1
/* GStreamer
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

20
#ifdef HAVE_CONFIG_H
Ronald S. Bultje's avatar
Ronald S. Bultje committed
21
#include "config.h"
22
#endif
Ronald S. Bultje's avatar
Ronald S. Bultje committed
23

24
#include "gstrtpasfdepay.h"
25
#include "gstrtpdepay.h"
26
27
28
29
#include "gstrtppcmupay.h"
#include "gstrtppcmapay.h"
#include "gstrtppcmadepay.h"
#include "gstrtppcmudepay.h"
30
#include "gstrtpgsmpay.h"
31
#include "gstrtpgsmdepay.h"
32
33
34
35
36
37
38
#include "gstrtpamrpay.h"
#include "gstrtpamrdepay.h"
#include "gstrtpmpapay.h"
#include "gstrtpmpadepay.h"
#include "gstrtph263pdepay.h"
#include "gstrtph263ppay.h"
#include "gstrtph263pay.h"
39
#include "gstrtph264depay.h"
40
#include "gstasteriskh263.h"
41
#include "gstrtpmp2tdepay.h"
42
#include "gstrtpmp4vdepay.h"
43
#include "gstrtpmp4vpay.h"
44
#include "gstrtpmp4gdepay.h"
45
#include "gstrtpmp4gpay.h"
46
47
#include "gstrtpspeexpay.h"
#include "gstrtpspeexdepay.h"
48
#include "gstrtpsv3vdepay.h"
49
50

static gboolean
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
51
plugin_init (GstPlugin * plugin)
52
{
53
54
55
  if (!gst_rtp_asf_depay_plugin_init (plugin))
    return FALSE;

56
  if (!gst_rtp_depay_plugin_init (plugin))
Ronald S. Bultje's avatar
Ronald S. Bultje committed
57
    return FALSE;
58

59
  if (!gst_rtp_gsm_depay_plugin_init (plugin))
60
61
    return FALSE;

62
  if (!gst_rtp_gsm_pay_plugin_init (plugin))
63
64
    return FALSE;

65
  if (!gst_rtp_amr_depay_plugin_init (plugin))
66
67
    return FALSE;

68
  if (!gst_rtp_amr_pay_plugin_init (plugin))
69
70
    return FALSE;

71
  if (!gst_rtp_pcma_depay_plugin_init (plugin))
72
73
    return FALSE;

74
75
76
77
78
79
80
  if (!gst_rtp_pcmu_depay_plugin_init (plugin))
    return FALSE;

  if (!gst_rtp_pcmu_pay_plugin_init (plugin))
    return FALSE;

  if (!gst_rtp_pcma_pay_plugin_init (plugin))
81
82
    return FALSE;

83
  if (!gst_rtp_mpa_depay_plugin_init (plugin))
84
85
    return FALSE;

86
  if (!gst_rtp_mpa_pay_plugin_init (plugin))
87
88
    return FALSE;

89
  if (!gst_rtp_h263p_pay_plugin_init (plugin))
90
91
    return FALSE;

92
  if (!gst_rtp_h263p_depay_plugin_init (plugin))
93
94
    return FALSE;

95
  if (!gst_rtp_h263_pay_plugin_init (plugin))
96
97
    return FALSE;

98
99
100
  if (!gst_rtp_h264_depay_plugin_init (plugin))
    return FALSE;

101
102
103
  if (!gst_asteriskh263_plugin_init (plugin))
    return FALSE;

104
105
106
  if (!gst_rtp_mp2t_depay_plugin_init (plugin))
    return FALSE;

107
  if (!gst_rtp_mp4v_pay_plugin_init (plugin))
108
109
    return FALSE;

110
  if (!gst_rtp_mp4v_depay_plugin_init (plugin))
111
112
    return FALSE;

113
114
115
  if (!gst_rtp_mp4g_depay_plugin_init (plugin))
    return FALSE;

116
117
118
  if (!gst_rtp_mp4g_pay_plugin_init (plugin))
    return FALSE;

119
  if (!gst_rtp_speex_pay_plugin_init (plugin))
120
121
    return FALSE;

122
  if (!gst_rtp_speex_depay_plugin_init (plugin))
123
124
    return FALSE;

125
126
127
  if (!gst_rtp_sv3v_depay_plugin_init (plugin))
    return FALSE;

128
129
130
  return TRUE;
}

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
131
132
133
134
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
    GST_VERSION_MINOR,
    "rtp",
    "Real-time protocol plugins",
135
    plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);