gstrtp.c 3.67 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 "gstrtpdepay.h"
25
26
#include "gstrtpilbcdepay.h"
#include "gstrtpilbcpay.h"
27
28
29
30
#include "gstrtppcmupay.h"
#include "gstrtppcmapay.h"
#include "gstrtppcmadepay.h"
#include "gstrtppcmudepay.h"
31
#include "gstrtpgsmpay.h"
32
#include "gstrtpgsmdepay.h"
33
34
35
36
37
38
39
#include "gstrtpamrpay.h"
#include "gstrtpamrdepay.h"
#include "gstrtpmpapay.h"
#include "gstrtpmpadepay.h"
#include "gstrtph263pdepay.h"
#include "gstrtph263ppay.h"
#include "gstrtph263pay.h"
40
#include "gstrtph264depay.h"
41
#include "gstasteriskh263.h"
42
#include "gstrtpmp2tdepay.h"
43
#include "gstrtpmp4vdepay.h"
44
#include "gstrtpmp4vpay.h"
45
#include "gstrtpmp4gdepay.h"
46
#include "gstrtpmp4gpay.h"
47
48
#include "gstrtpspeexpay.h"
#include "gstrtpspeexdepay.h"
49
#include "gstrtpsv3vdepay.h"
Wim Taymans's avatar
Wim Taymans committed
50
51
#include "gstrtpvorbisdepay.h"
#include "gstrtpvorbispay.h"
52
53

static gboolean
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
54
plugin_init (GstPlugin * plugin)
55
{
56
  if (!gst_rtp_depay_plugin_init (plugin))
Ronald S. Bultje's avatar
Ronald S. Bultje committed
57
    return FALSE;
58

59
60
61
62
63
64
  if (!gst_rtp_ilbc_pay_plugin_init (plugin))
    return FALSE;

  if (!gst_rtp_ilbc_depay_plugin_init (plugin))
    return FALSE;

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

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

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

74
  if (!gst_rtp_amr_pay_plugin_init (plugin))
75
76
    return FALSE;

77
  if (!gst_rtp_pcma_depay_plugin_init (plugin))
78
79
    return FALSE;

80
81
82
83
84
85
86
  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))
87
88
    return FALSE;

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

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

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

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

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

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

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

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

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

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

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

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

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

128
  if (!gst_rtp_speex_depay_plugin_init (plugin))
129
130
    return FALSE;

131
132
133
  if (!gst_rtp_sv3v_depay_plugin_init (plugin))
    return FALSE;

Wim Taymans's avatar
Wim Taymans committed
134
135
136
137
138
139
  if (!gst_rtp_vorbis_depay_plugin_init (plugin))
    return FALSE;

  if (!gst_rtp_vorbis_pay_plugin_init (plugin))
    return FALSE;

140
141
142
  return TRUE;
}

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
143
144
145
146
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
    GST_VERSION_MINOR,
    "rtp",
    "Real-time protocol plugins",
147
    plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);